Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 'DeviceFlowHandler' configurability and update defaults #481

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

f1ames
Copy link
Contributor

@f1ames f1ames commented Aug 16, 2023

This PR improves device flow handler configurability and updates defaults. It is related to an issue where by default it will use RSA256 alg and needs to be explicitly defined when different algorithm is used. The exact issue described here panva/openid-client#509.

Changes

  • Updated DeviceFlowHandler constructor to accept entire ClientMetadata object to make configuration more flexible.

Fixes

  • This also fixes issue with misaligned JWT algs (and allows to configure it).

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@changeset-bot
Copy link

changeset-bot bot commented Aug 16, 2023

🦋 Changeset detected

Latest commit: 66a293e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@monokle/synchronizer Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@f1ames f1ames requested a review from WitoDelnat August 16, 2023 12:50
@f1ames f1ames merged commit cd87927 into main Aug 16, 2023
1 check passed
@f1ames f1ames deleted the f1ames/fix/synchronizer-jwt-alg branch August 16, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants