Commit Graph

262 Commits

Author SHA1 Message Date
Maksim Eltyshev
634d6ceab1 feat: Add ability to map OIDC attributes and ignore username
Closes #554
2024-01-25 23:01:59 +01:00
Maksim Eltyshev
31d4d5f38d chore: Update version 2024-01-18 11:00:20 +01:00
Maksim Eltyshev
b2e0c45539 chore: Update version 2023-12-20 13:49:07 +01:00
Maksim Eltyshev
389648b546 fix: Add missing date formats to Ukrainian translation 2023-12-20 12:58:43 +01:00
Denis Polishchuk
f4789c28db feat: Add Ukrainian translation (#571) 2023-12-20 12:39:51 +01:00
ossdate
668092de7d fix: Update Chinese translation (#569) 2023-12-20 12:33:37 +01:00
Yu Inoue
920f9c097d fix: Display year when date is outside of current year (#567) 2023-12-20 12:26:01 +01:00
Maksim Eltyshev
da63598de3 chore: Update version 2023-12-11 00:18:14 +01:00
Gilberto Vidal
517cb34cfe fix: Fix eslint rules for Windows (#508) 2023-12-11 00:13:04 +01:00
NavyStack
079b8eba53 fix: Fine-tune Korean and Japanese translations, fix full stops (#561) 2023-12-10 23:47:04 +01:00
Maksim Eltyshev
5f2723623a chore: Update version 2023-12-09 17:23:01 +01:00
Maksim Eltyshev
fee6841d0a fix: Attempt to fix error that occurs during reconnection 2023-12-09 17:19:40 +01:00
Maksim Eltyshev
ca6fb3b962 fix: Add state parameter to OIDC authorization url
Closes #558
2023-12-09 17:06:45 +01:00
Maksim Eltyshev
80d12aaeeb fix: Fix Korean translation linting 2023-12-04 11:42:15 +01:00
NavyStack
89af209a2e fix: Update Korean translation (#560) 2023-12-04 11:40:04 +01:00
Maksim Eltyshev
eddeb96b16 fix: Fix Romanian translation linting 2023-11-24 12:43:00 +01:00
Maksim Eltyshev
9e8ff3b579 chore: Revert remark-gfm update 2023-11-23 14:40:44 +01:00
Andrei Covali
24163463fc feat: Add Romanian translation (#555) 2023-11-22 14:58:13 +01:00
Maksim Eltyshev
5b519cb62f chore: Update version 2023-11-17 22:13:04 +01:00
Maksim Eltyshev
239611ad51 chore: Update dependencies 2023-11-17 14:34:10 +01:00
Yu Inoue
0575e665fe fix: Fix time format in Japanese locale (#546)
Closes #542
2023-11-13 12:51:00 +01:00
Maksim Eltyshev
019766dced chore: Update version 2023-10-25 23:41:48 +02:00
Maksim Eltyshev
6dc9e4ed99 fix: Disable role change when OIDC roles are not ignored 2023-10-25 23:39:34 +02:00
Maksim Eltyshev
f1c72df8b6 chore: Update version 2023-10-20 22:38:43 +02:00
Maksim Eltyshev
5056d38848 fix: Fix logging out with invalid token 2023-10-20 22:34:58 +02:00
Vishnu Kaushik
ded58dc8b0 fix: Add task counter in card modal (#525)
Closes #467
2023-10-21 00:20:04 +05:00
Maksim Eltyshev
fc2f4cd5d3 chore: Update version 2023-10-19 23:08:40 +02:00
Maksim Eltyshev
7ef457157e fix: Fallback to query if there is no fragment 2023-10-19 23:06:37 +02:00
Maksim Eltyshev
23ee815200 chore: Update version 2023-10-19 16:07:52 +02:00
Maksim Eltyshev
40c04c35ff ref: Refactoring 2023-10-19 16:05:34 +02:00
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
2023-10-19 17:39:21 +05:00
Maksim Eltyshev
667c5daf25 chore: Update version 2023-10-18 23:20:30 +02:00
Maksim Eltyshev
3ac2d289d0 chore: Update version 2023-10-17 19:31:21 +02:00
Maksim Eltyshev
8e0c60f5be fix: OIDC finalization and refactoring 2023-10-17 19:18:19 +02:00
Maksim Eltyshev
91bc889fed feat: Use environment variables for default admin configuration 2023-09-12 01:12:38 +02:00
Gilberto Vidal
a34d8e9753 fix: Fix Turkish translation linting (#504) 2023-09-11 22:21:46 +05:00
gorrilla10101
107cb85ba2 feat: OIDC with PKCE flow (#491) 2023-09-04 20:06:59 +05:00
creador30
9333ef562e feat: Add Turkish translation (#501) 2023-09-04 19:41:11 +05:00
Andrey
5317950b5c fix: Update Russian translation (#497) 2023-08-22 14:34:45 +05:00
Maksim Eltyshev
7501619b7e fix: Fix Czech translation linting
Closes #487
2023-07-31 11:54:50 +02:00
leroyloren
080e29aa03 fix: Update Czech translation (#485) 2023-07-27 04:07:47 +05:00
[object Object]
48c532b2c2 feat: Add edit icon to project name (#457) 2023-07-09 20:49:08 +05:00
Maksim Eltyshev
a62815f825 ref: Little refactoring 2023-06-13 12:06:28 +02:00
Maksim Eltyshev
6938232dc4 fix: Keep task edits when textarea loses focus 2023-06-13 12:04:49 +02:00
[object Object]
4c4cfa9c66 fix: Keep comment edits when textarea loses focus (#443)
Closes #441
2023-06-13 14:49:54 +05:00
Maksim Eltyshev
5c435414f7 chore: Update version 2023-06-13 00:25:40 +02:00
Maksim Eltyshev
2d7812a679 fix: Use creation timestamp instead of id for ordering
Closes #465
2023-06-13 00:19:17 +02:00
ULiiAn
6c4db967c2 fix: Fix Chinese translation (#464)
Closes #463
2023-06-12 14:51:31 +05:00
Zsh
23e2b4a622 fix: Update Chinese translation (#410) 2023-03-06 17:12:59 +05:00
LuisLiu
f4cc51e1c0 feat: Add Chinese translation (#398) 2023-03-06 17:07:00 +05:00