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

fix: allowing RS256 without alg #21

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

marceloFerreira90
Copy link
Contributor

closes #16

main change line:
k => k.kid === kid && ((k.alg && k.alg === alg) || (k.kty && k.kty === 'RSA' && k.use === 'sig'

Updated tests

@marceloFerreira90 marceloFerreira90 self-assigned this Jun 3, 2024
index.js Outdated Show resolved Hide resolved
@marceloFerreira90 marceloFerreira90 merged commit bdf734f into master Jun 3, 2024
6 checks passed
@marceloFerreira90 marceloFerreira90 deleted the fix/rsa_key_alg branch June 3, 2024 11:41
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.

Cannot get to work with Microsoft Entra
2 participants