Commit Graph

412 Commits (019766dced3df4636a07a541b9d045f953361034)
 

Author SHA1 Message Date
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
Balthasar Hofer d4b64b90fc
feat: Add ability to ignore roles when logging in with SSO (#534)
Closes #533
2 years ago
Daniel Hiller 1a49826b85 docs: adjust filenames to match the docs 2 years ago
Daniel Hiller 815643eb2c ci: ignore some paths on push 2 years ago
Daniel Hiller bcc4c0d923 chore: update version 2 years ago
Daniel Hiller cf7810b067 fix: add admin user variables 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
Maksim Eltyshev 3ef5b3ead8 fix: Make default admin environment variables optional
Closes #526
2 years ago
Vishnu Kaushik ded58dc8b0
fix: Add task counter in card modal (#525)
Closes #467
2 years ago
Maksim Eltyshev d8ee1ecdd1 ci: Do not mark released chart as latest 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 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
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
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 ba89d41b19 chore: Update chart version 3 years ago
Maksim Eltyshev 5c435414f7 chore: Update version 3 years ago
Maksim Eltyshev 2d7812a679 fix: Use creation timestamp instead of id for ordering
Closes #465
3 years ago