Commit Graph

70 Commits (10001db8cff1b341dbba73db3d509db6103d991f)

Author SHA1 Message Date
Maksim Eltyshev 10001db8cf chore: Update dependencies 1 year ago
Maksim Eltyshev 7ee351fe30 fix: Preserve extension for attachments with long filename
Closes #77
1 year ago
Maksim Eltyshev b8d7e713b9 chore: Update dependencies 2 years ago
Maksim Eltyshev fff0552081 chore: Update dependencies
Closes #726
2 years ago
Edouard 9f0fce098e
feat: SMTP integration and email notifications (#631) 2 years ago
Maksim Eltyshev 3f99438402 fix: Fix images becoming black and white when resizing
Closes #574, closes #585
2 years ago
Maksim Eltyshev 7e7727e3e1 chore: Bump sharp version 2 years ago
Maksim Eltyshev f1fed3e533 build: Stop using base image 2 years ago
Maksim Eltyshev 239611ad51 chore: Update dependencies 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 3bc73c43ea chore: Bump sails version 2 years ago
gorrilla10101 107cb85ba2
feat: OIDC with PKCE flow (#491) 2 years ago
dependabot[bot] 4850fc5fc8
chore(deps): Bump jsonwebtoken from 8.5.1 to 9.0.0 in /server (#357)
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases)
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.1...v9.0.0)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-type: direct:production
...

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>
3 years ago
Maksim Eltyshev b0d23373c0 chore: Update dependencies 3 years ago
Rafly Maulana 5381d45e50
meta: Share global eslint config, move prettier config (#339) 3 years ago
Maksim Eltyshev 3df07c10fa fix: Use password strength estimator
Closes #294
3 years ago
Maksim Eltyshev 5b64d465e2 fix: Use move-file instead of rename 3 years ago
Steven Correia 6429e22d59
feat: Modify logger to log to file that supports fail2ban (#284) 3 years ago
Maksim Eltyshev fe62180cda chore: Update dependencies 3 years ago
Maksim Eltyshev 6f219e5368 Fix pre-commit hook, update dependencies 4 years ago
Maksim Eltyshev e239d85901 Update dependencies 4 years ago
Maksim Eltyshev 0c92623109 Update dependencies 4 years ago
Maksim Eltyshev 1a5c0f53f8 Fix board deletion, update dependencies. Closes #146 4 years ago
Maksim Eltyshev b39119ace4 Project managers, board members, auto-update after reconnection, refactoring 5 years ago
Maksim Eltyshev cf21bef9ee Fix file attach from clipboard when copy from browser. Closes #96 5 years ago
Maksim Eltyshev f718464940 Fix variables in update-card, update dependencies. Closes #85 5 years ago
Maksim Eltyshev 3d6f9cc0e5 Adjust label width, update dependencies. Closes #75 5 years ago
Maksim Eltyshev 179ad3610f Update dependencies 5 years ago
Maksim Eltyshev de1f7c7564 Update dependencies 5 years ago
Maksim Eltyshev c28fada7ee Update readme, update dependencies 5 years ago
Maksim Eltyshev ab020fc324 Update dependencies 5 years ago
Maksim Eltyshev 08aef7c052 Change database adapter to support the new Node. Closes #32 5 years ago
Maksim Eltyshev 767d39586c Add test libs, update dependencies 5 years ago
Maksim Eltyshev 8fc6bb2e3e Update dependencies 5 years ago
Maksim Eltyshev c6ee7d54bb Prepare for collection board type, refactoring, update dependencies 5 years ago
Maksim Eltyshev 2d92ade8dc Add scrollbar for board tabs, update dependencies 6 years ago
Maksim Eltyshev 38f68c1b82 Update dependencies 6 years ago
Maksim Eltyshev 6a7ad7a24b Update dependencies 6 years ago
Maksim Eltyshev 844b3ab8f1 Fix Docker image, update dependencies 6 years ago
Maksim Eltyshev 246eb17249 Add dropzone for attachment, paste attachment from clipboard 6 years ago
Maksim Eltyshev e1364925ed Link all scripts to the root package.json, start development servers concurrently 6 years ago
Maksim Eltyshev 5481ccb91f Add start script for Docker image, pre-commit lint check, package.json scripts cleanup 6 years ago
Maksim Eltyshev f743f4ea8b Add file attachments 6 years ago
Maksim Eltyshev be8a806102 Update dependencies 6 years ago
Maksim Eltyshev af00e3e191 Add username to user 6 years ago
Maksim Eltyshev d1b74f9d11 Update dependencies 6 years ago
Maksim Eltyshev 4da29f2d8e Update dependencies 6 years ago
Maksim Eltyshev de7a8cd8d4 Downgrade bcrypt for Alpine Linux compatibility 6 years ago
Maksim Eltyshev b93c5aa070 Update dependencies 6 years ago
Maksim Eltyshev 9c7c96a780 Move from prettier-eslint to eslint-plugin-prettier, update dependencies 6 years ago