Commit Graph
463 Commits
Author SHA1 Message Date
Maksim Eltyshev 0dc24ffafd chore: Update version 2024-01-31 15:58:57 +01:00
Maksim Eltyshev 856e2efc3c feat: Add ability to map OIDC attributes and ignore username
Closes #554
2024-01-25 23:01:59 +01:00
Maksim Eltyshev df9f06fb0f chore: Update version 2024-01-18 11:00:20 +01:00
Maksim Eltyshev 2e89e934d5 chore: Update version 2023-12-20 13:49:07 +01:00
Maksim Eltyshev dcdb36a854 fix: Add missing date formats to Ukrainian translation 2023-12-20 12:58:43 +01:00
Denis Polishchuk 2f3a0c34c6 feat: Add Ukrainian translation (#571) 2023-12-20 12:39:51 +01:00
ossdate 635f16b401 fix: Update Chinese translation (#569) 2023-12-20 12:33:37 +01:00
Yu Inoue db9e877506 fix: Display year when date is outside of current year (#567) 2023-12-20 12:26:01 +01:00
Maksim Eltyshev fbd1b28312 chore: Update version 2023-12-11 00:18:14 +01:00
Gilberto Vidal 8fbdf3365a fix: Fix eslint rules for Windows (#508) 2023-12-11 00:13:04 +01:00
NavyStack d926907b8e fix: Fine-tune Korean and Japanese translations, fix full stops (#561) 2023-12-10 23:47:04 +01:00
Maksim Eltyshev 8085da388b chore: Update version 2023-12-09 17:23:01 +01:00
Maksim Eltyshev a64a8c6f88 fix: Attempt to fix error that occurs during reconnection 2023-12-09 17:19:40 +01:00
Maksim Eltyshev 28e4abaf76 fix: Add state parameter to OIDC authorization url
Closes #558
2023-12-09 17:06:45 +01:00
Maksim Eltyshev 92e9ddde9e fix: Fix Korean translation linting 2023-12-04 11:42:15 +01:00
NavyStack 5032ad6016 fix: Update Korean translation (#560) 2023-12-04 11:40:04 +01:00
Maksim Eltyshev 709952ac4b fix: Fix Romanian translation linting 2023-11-24 12:43:00 +01:00
Maksim Eltyshev 8110b7f3a5 chore: Revert remark-gfm update 2023-11-23 14:40:44 +01:00
Andrei Covali 4db9d8f826 feat: Add Romanian translation (#555) 2023-11-22 14:58:13 +01:00
Maksim Eltyshev 965f7cd1ed chore: Update version 2023-11-17 22:13:04 +01:00
Maksim Eltyshev 22aa3c4adf chore: Update dependencies 2023-11-17 14:34:10 +01:00
Yu Inoue 064b9a915c fix: Fix time format in Japanese locale (#546)
Closes #542
2023-11-13 12:51:00 +01:00
Maksim Eltyshev 9d5de93dcd chore: Update version 2023-10-25 23:41:48 +02:00
Maksim Eltyshev d951ba59dd fix: Disable role change when OIDC roles are not ignored 2023-10-25 23:39:34 +02:00
Maksim Eltyshev 879878b961 chore: Update version 2023-10-20 22:38:43 +02:00
Maksim Eltyshev 4e7e57dfd9 fix: Fix logging out with invalid token 2023-10-20 22:34:58 +02:00
Vishnu Kaushik e3d3130797 fix: Add task counter in card modal (#525)
Closes #467
2023-10-21 00:20:04 +05:00
Maksim Eltyshev 4d03e5f971 chore: Update version 2023-10-19 23:08:40 +02:00
Maksim Eltyshev ff2223c490 fix: Fallback to query if there is no fragment 2023-10-19 23:06:37 +02:00
Maksim Eltyshev 7c599d5c6f chore: Update version 2023-10-19 16:07:52 +02:00
Maksim Eltyshev 0fab6075bd ref: Refactoring 2023-10-19 16:05:34 +02:00
Lorenz Brun 9011ee61da 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
2023-10-19 17:39:21 +05:00
Maksim Eltyshev 2a24fc5155 chore: Update version 2023-10-18 23:20:30 +02:00
Maksim Eltyshev ab9a0e91e2 chore: Update version 2023-10-17 19:31:21 +02:00
Maksim Eltyshev b9716c6e3a fix: OIDC finalization and refactoring 2023-10-17 19:18:19 +02:00
Maksim Eltyshev e59535b9b4 feat: Use environment variables for default admin configuration 2023-09-12 01:12:38 +02:00
Gilberto Vidal 2dfa79801f fix: Fix Turkish translation linting (#504) 2023-09-11 22:21:46 +05:00
gorrilla10101 6941500c7b feat: OIDC with PKCE flow (#491) 2023-09-04 20:06:59 +05:00
creador30 e254443272 feat: Add Turkish translation (#501) 2023-09-04 19:41:11 +05:00
Andrey d91b047be4 fix: Update Russian translation (#497) 2023-08-22 14:34:45 +05:00
Maksim Eltyshev ae14f97592 fix: Fix Czech translation linting
Closes #487
2023-07-31 11:54:50 +02:00
leroyloren c4cc715443 fix: Update Czech translation (#485) 2023-07-27 04:07:47 +05:00
[object Object] 1bd0c2b2c1 feat: Add edit icon to project name (#457) 2023-07-09 20:49:08 +05:00
Maksim Eltyshev a8ea31c9d5 ref: Little refactoring 2023-06-13 12:06:28 +02:00
Maksim Eltyshev ff7fae8de5 fix: Keep task edits when textarea loses focus 2023-06-13 12:04:49 +02:00
[object Object] 60bf1af4f7 fix: Keep comment edits when textarea loses focus (#443)
Closes #441
2023-06-13 14:49:54 +05:00
Maksim Eltyshev 8ca1dda1f7 chore: Update version 2023-06-13 00:25:40 +02:00
Maksim Eltyshev 21504c06a6 fix: Use creation timestamp instead of id for ordering
Closes #465
2023-06-13 00:19:17 +02:00
ULiiAn a6cfad4d35 fix: Fix Chinese translation (#464)
Closes #463
2023-06-12 14:51:31 +05:00
Zsh 2c66d53a08 fix: Update Chinese translation (#410) 2023-03-06 17:12:59 +05:00