Commit Graph

470 Commits (8e7beeeb128d37fcd0efaefc844cb97ecd58974c)
 

Author SHA1 Message Date
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 5bf5db27d8 chore: Update chart version 2 years ago
Maksim Eltyshev 667c5daf25 chore: Update version 2 years ago
Maksim Eltyshev 6662b0a717 fix: Fix order of checks when logging in 2 years ago
Maksim Eltyshev 348bf4d6c4 Merge branch 'master' of github.com:gorrilla10101/planka 2 years ago
Maksim Eltyshev 3ac2d289d0 chore: Update version 2 years ago
Maksim Eltyshev 3bc73c43ea chore: Bump sails version 2 years ago
Maksim Eltyshev 8e0c60f5be fix: OIDC finalization and refactoring 2 years ago
Ran Shamay 8cada363d7
Merge pull request #7 from ranshamay/rtl-support
minor fixes
2 years ago
Ran Shamay 1cc8f3e291 minor fixes 2 years ago
Ran Shamay 03681ffb8f
Merge pull request #6 from ranshamay/rtl-support
font face fixes
2 years ago
Ran Shamay 18d31a64da font face fixes 2 years ago
Ran Shamay 8f4d0cc250
Merge pull request #5 from ranshamay/rtl-support
Rtl support
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 274f6d19f8
Merge pull request #4 from ranshamay/he-translation-2
He translation 2
2 years ago
Ran Shamay fd66776036 merge 2 years ago
Ran Shamay ef78336cd9 wip 2 years ago
Ran Shamay e99cdf9250 wip 2 years ago
Ran Shamay 6696b7fbb2
Merge pull request #3 from ranshamay/he-translation-2
wip
2 years ago
Ran Shamay 2d8d27bbfd wip 2 years ago
Ran Shamay 3bf1ebe3c5
Merge pull request #2 from ranshamay/he-translation
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 121139e76b
Merge pull request #1 from ranshamay/he-localization
He localization
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
Daniel Hiller aae69cb5e4 CI: Add prebuild planka package on release 2 years ago
Daniel Hiller 782c0356c8 Meta: Add missing return 2 years ago
Daniel Hiller 757cdb14a4 Meta: Add Automated installation 2 years ago
gorrilla10101 8a4bdbd1fe
Merge branch 'plankanban:master' into master 2 years ago
Jeffrey 5bf42be786 dynamic environment variables 2 years ago
Daniel Hiller d896c3183b chore: fix docker dev build 2 years ago
Daniel Hiller 13ee0c3466 chore: fix runs-on name 2 years ago
Daniel Hiller 211c841379 chore: Switch to self hostet action runner 2 years ago
Daniel Hiller 90a30961ff chore: Add dev container, based on latest commit 2 years ago
Daniel Hiller 7cb9774e05 chore: Switch to pnpm package manager 2 years ago
Maksim Eltyshev 875895b331 fix: Fix starting without OIDC environment variables
Closes #503
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
RocketProto 7d28abc7e6
fix: Decouple BASE_URL from Ingress host (#498)
Closes #496
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