Commit Graph

266 Commits (b2c73719137169df7a7c960d0de251af2aca6c14)

Author SHA1 Message Date
Ran Shamay f8882b521e
Revert "merged" 2 years ago
Ran Shamay ea73135ab4 Merge branch 'master' of https://github.com/plankanban/planka 2 years ago
Ran Shamay d161f259ff support mail 2 years ago
Ran Shamay a2270fa3e6 added chrome 70 support 2 years ago
Maksim Eltyshev 5b519cb62f chore: Update version 2 years ago
Maksim Eltyshev 239611ad51 chore: Update dependencies 2 years ago
Ran Shamay e2cc71efa9 cleanup 2 years ago
Ran Shamay cc59687b71 align docker 2 years ago
Ran Shamay 6c5619ec9e use 3000 port 2 years ago
Yu Inoue 0575e665fe
fix: Fix time format in Japanese locale (#546)
Closes #542
2 years ago
Maksim Eltyshev 019766dced chore: Update version 2 years ago
Maksim Eltyshev 6dc9e4ed99 fix: Disable role change when OIDC roles are not ignored 2 years ago
Maksim Eltyshev f1c72df8b6 chore: Update version 2 years ago
Maksim Eltyshev 5056d38848 fix: Fix logging out with invalid token 2 years ago
Vishnu Kaushik ded58dc8b0
fix: Add task counter in card modal (#525)
Closes #467
2 years ago
Maksim Eltyshev fc2f4cd5d3 chore: Update version 2 years ago
Maksim Eltyshev 7ef457157e fix: Fallback to query if there is no fragment 2 years ago
Maksim Eltyshev 23ee815200 chore: Update version 2 years ago
Maksim Eltyshev 40c04c35ff ref: Refactoring 2 years ago
Lorenz Brun 743f2956c8
feat: Improve OIDC SSO (#524)
The OIDC implementation merged in https://github.com/plankanban/planka/pull/491 is flawed for multiple reasons.

It assumes that the access_token returned by the IDP has to be a JWT parseable by the RP which is not the case [1].
Many major IDPs do issue tokens which are not JWTs and RPs should not rely on the contents of these at all.
The only signed token which has a standardized format for direct RP consumption is the OIDC ID token (id_token), but this by default doesn't contain many claims, especially role claims are omitted from them by default for size reasons. To get these additional claims into the ID token, one needs an IDP with support for the "claims" parameter.

It requires manual specification of the JWKS URL which is mandatory in any OIDC discovery document and thus never needs to be manually specified.

It also makes the questionable decision to use a client-side code flow with PKCE where a normal code flow would be much more appropriate as all user data is processed in the backend which can securely hold a client secret (confidential client). This has far wider IDP support, is safer (due to direct involvement of the IDP in obtaining user information) and doesn't require working with ID tokens and claim parameters.

By using a server-side code flow we can also offload most complexity to the server alone, no longer requiring an additional OIDC library on the web client.

Also silent logout doesn't work on most IDPs for security reasons, one needs to actually redirect the user over to the IDP, which then prompts them once more if they actually want to log out.

This implementation should work with any OIDC-compliant IDP and even OAuth 2.0-only IDPs as long as they serve and OIDC discovery document.

[1] rfc-editor.org/rfc/rfc6749#section-5.1
2 years ago
Maksim Eltyshev 667c5daf25 chore: Update version 2 years ago
Maksim Eltyshev 3ac2d289d0 chore: Update version 2 years ago
Maksim Eltyshev 8e0c60f5be fix: OIDC finalization and refactoring 2 years ago
Ran Shamay 1cc8f3e291 minor fixes 2 years ago
Ran Shamay 18d31a64da font face fixes 2 years ago
Ran Shamay 5ce83024b2 cleanup 2 years ago
Ran Shamay d6d8d46d30 dynamic layout 2 years ago
Ran Shamay 7fdb253b35 rtl support 2 years ago
Ran Shamay ef78336cd9 wip 2 years ago
Ran Shamay e99cdf9250 wip 2 years ago
Ran Shamay 2d8d27bbfd wip 2 years ago
Ran Shamay 3fd495ed5c added missing translations 2 years ago
Ran Shamay a6692623a5 prettier 2 years ago
Ran Shamay 9a825800b6 translation 2 years ago
Ran Shamay fb971dba6e wip 2 years ago
Ran Shamay 0e24f43263 semi translation 2 years ago
Ran Shamay d4c71bad04 semi translation 2 years ago
Ran Shamay d2ae38c363 wip 2 years ago
Maksim Eltyshev 91bc889fed feat: Use environment variables for default admin configuration 2 years ago
Gilberto Vidal a34d8e9753
fix: Fix Turkish translation linting (#504) 2 years ago
gorrilla10101 107cb85ba2
feat: OIDC with PKCE flow (#491) 2 years ago
creador30 9333ef562e
feat: Add Turkish translation (#501) 2 years ago
Andrey 5317950b5c
fix: Update Russian translation (#497) 2 years ago
Maksim Eltyshev 7501619b7e fix: Fix Czech translation linting
Closes #487
2 years ago
leroyloren 080e29aa03
fix: Update Czech translation (#485) 2 years ago
[object Object] 48c532b2c2
feat: Add edit icon to project name (#457) 2 years ago
Maksim Eltyshev a62815f825 ref: Little refactoring 3 years ago
Maksim Eltyshev 6938232dc4 fix: Keep task edits when textarea loses focus 3 years ago
[object Object] 4c4cfa9c66
fix: Keep comment edits when textarea loses focus (#443)
Closes #441
3 years ago
Maksim Eltyshev 5c435414f7 chore: Update version 3 years ago