1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 12:49:43 +02:00
Élégant suivi de projets open source https://planka.app
Find a file
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
.github CI: Add prebuild planka package on release 2023-09-30 01:59:09 +02:00
.husky Fix pre-commit hook, update dependencies 2022-04-19 02:52:19 +05:00
.vscode meta: Add vscode config 2022-08-09 19:36:08 +02:00
charts/planka chore: Update chart version 2023-10-18 23:33:30 +02:00
client feat: Improve OIDC SSO (#524) 2023-10-19 17:39:21 +05:00
server feat: Improve OIDC SSO (#524) 2023-10-19 17:39:21 +05:00
.dockerignore fix: Improve building 2022-11-30 02:50:38 +01:00
.gitattributes Fix repository language 2020-05-29 21:46:08 +05:00
.gitignore feat: Add official Helm Chart (#442) 2023-05-25 20:23:11 +05:00
CODE_OF_CONDUCT.md Update repository paths because of transfer 2020-04-23 22:56:25 +05:00
CONTRIBUTING.md docs: Add contributing guidelines 2022-04-20 19:36:24 +05:00
demo.gif Docker, update readme, update dependencies 2019-10-01 04:18:33 +05:00
docker-backup.sh ref: Rename script files 2023-01-17 20:37:27 +01:00
docker-compose-dev.yml Update dependencies 2020-05-06 21:21:18 +05:00
docker-compose.yml feat: Improve OIDC SSO (#524) 2023-10-19 17:39:21 +05:00
docker-restore.sh ref: Rename script files 2023-01-17 20:37:27 +01:00
Dockerfile chore: Switch to pnpm package manager 2023-09-13 22:38:37 +02:00
Dockerfile.base chore: Update alpine and vips version 2022-11-21 18:11:00 +01:00
LICENSE meta: Change license to AGPL-3.0 2023-01-16 23:22:00 +01:00
package-lock.json chore: Update version 2023-10-18 23:20:30 +02:00
package.json chore: Update version 2023-10-18 23:20:30 +02:00
README.md Meta: Add missing return 2023-09-23 03:48:32 +02:00
SECURITY.md docs: Update information, links to documentation 2023-02-20 23:36:52 +01:00
start.sh ref: Rename script files 2023-01-17 20:37:27 +01:00

Planka

Elegant open source project tracking

David (path) Docker Pulls GitHub

Client demo (without server features).

Features

  • Create projects, boards, lists, cards, labels and tasks
  • Add card members, track time, set a due date, add attachments, write comments
  • Markdown support in a card description and comment
  • Filter by members and labels
  • Customize project background
  • Real-time updates
  • User notifications
  • Internationalization

How to deploy Planka

There are 2 types of installation:

For configuration, please see the configuration section.

Contact

  • If you want to get a hosted version of Planka, you can contact us via email contact@planka.cloud
  • For any security issues, please do not create a public issue on GitHub, instead please write to security@planka.cloud

We do NOT offer any public support via email, please use GitHub.

Development

See the development section.

Tech stack

  • React, Redux, Redux-Saga, Redux-ORM, Semantic UI React, react-beautiful-dnd
  • Sails.js, Knex.js
  • PostgreSQL

License

Planka is AGPL-3.0 licensed.