Commit Graph
241 Commits
Author SHA1 Message Date
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
LuisLiu ec638bb072 feat: Add Chinese translation (#398) 2023-03-06 17:07:00 +05:00
Maksim Eltyshev 0eeb10a4b0 chore: Update version 2023-02-27 19:12:59 +01:00
Maksim Eltyshev 22ec8707ac fix: Rename timer to stopwatch
Closes #392
2023-02-27 19:09:51 +01:00
Maksim Eltyshev becf4afe85 fix: Prevent board from scrolling when it starts with non-left-click 2023-02-25 15:09:46 +01:00
Maksim Eltyshev 9c241acff8 fix: Fix paths in css files when building on windows 2023-02-22 19:59:40 +01:00
Maksim Eltyshev f1623dcc7a chore: Update version 2023-02-20 11:43:04 +01:00
Maksim Eltyshev 0847f24cf7 feat: Display current project and board in page title 2023-02-20 11:41:22 +01:00
Maksim Eltyshev e4372a4be7 fix: Fix line breaks in task preview
Closes #391
2023-02-20 11:33:27 +01:00
Maksim Eltyshev d975b2d07a ref: Creating popups with hook, fix translation keys passing 2023-01-24 18:53:13 +01:00
Maksim Eltyshev 0453815ade chore: Update version 2023-01-10 16:40:11 +01:00
Maksim Eltyshev f36c35a49a fix: Fix markdown styles and card description font size 2023-01-10 16:38:19 +01:00
Maksim Eltyshev a35f26f607 feat: Display version in UI
Closes #153
2023-01-10 16:32:20 +01:00
Maksim Eltyshev d638239fed ref: Prettify eslint-disables 2023-01-09 12:33:49 +01:00
Maksim Eltyshev a741e26ccb feat: Labels reordering
Closes #289
2023-01-09 12:17:06 +01:00
dependabot[bot] d260d2dac0 chore(deps): Bump json5 from 1.0.1 to 1.0.2 in /client (#370)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 02:26:00 +05:00
RAR 66aa2c36bb feat: Open card once created with Ctrl+Enter (#373) 2023-01-09 01:59:24 +05:00
Maksim Eltyshev 58eda7d555 fix: Subscribe only when needed 2023-01-05 15:03:06 +01:00
albanobattistella 48380049e2 fix: Update Italian translation (#363) 2023-01-03 03:16:35 +05:00
Maksim Eltyshev 8a1693d3d9 fix: Show completed tasks greyed out 2022-12-26 22:55:04 +01:00
Maksim Eltyshev 26f464eb25 fix: Prevent scroll when focusing 2022-12-26 22:51:17 +01:00
Maksim Eltyshev 5cd025ffb7 ref: Remove board types, refactoring 2022-12-26 21:10:50 +01:00
Maksim Eltyshev 907187ada2 fix: Fix active tab style 2022-12-24 01:03:36 +01:00