Commit Graph

398 Commits (planka-0.1.5)
 

Author SHA1 Message Date
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
Maksim Eltyshev d386c82973 fix: Fix saving milliseconds for timestamps 3 years ago
ULiiAn 6c4db967c2
fix: Fix Chinese translation (#464)
Closes #463
3 years ago
Christopher Greaves 932d8225ed
feat: Add official Helm Chart (#442)
Closes #192
3 years ago
orbatschow 0d481703da
feat: Allow postgres connections that require ssl mode (#409)
Closes #261
3 years ago
Zsh 23e2b4a622
fix: Update Chinese translation (#410) 3 years ago
LuisLiu f4cc51e1c0
feat: Add Chinese translation (#398) 3 years ago
Maksim Eltyshev 793ddd5e20 chore: Update version 3 years ago
Maksim Eltyshev 3d84888eb1
revert: Allow postgres connections that require ssl mode (#408)
This reverts commit eea57ff121.
3 years ago
Maksim Eltyshev 02eabd203c chore: Update version 3 years ago
Maksim Eltyshev d0a2734161 fix: Rename timer to stopwatch
Closes #392
3 years ago
orbatschow eea57ff121
feat: Allow postgres connections that require ssl mode (#404)
Closes #261
3 years ago
Maksim Eltyshev 7e2b74627c fix: Prevent board from scrolling when it starts with non-left-click 3 years ago
Maksim Eltyshev bee199c13b docs: Add installation link for windows 3 years ago
Maksim Eltyshev 8dd331b895 fix: Fix paths in css files when building on windows 3 years ago