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

Set default algorithm through config #184

Merged
merged 4 commits into from
May 10, 2023

Conversation

philipdaveby
Copy link
Contributor

@philipdaveby philipdaveby commented Mar 10, 2023

Microsoft's identity platform uses the kty parameter for the encryption family, alg is omitted. This PR gives the ability to set a defaultAlgorithm when alg is not included.

Also passing in correct value to openssl_pkey_get_details() so it won't crash.

Resolves #172

@BertVM52
Copy link
Contributor

I can vouch for this PR. We had to apply the same fixes to get it to work. @hajekj

composer.json Outdated Show resolved Hide resolved
@hajekj hajekj merged commit 83465d3 into TheNetworg:master May 10, 2023
@hajekj
Copy link
Member

hajekj commented May 10, 2023

Thank you for the contribution!

@BertVM52 BertVM52 mentioned this pull request Jun 7, 2023
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.

B2C - Issue when Getting JWT Verification Keys
3 participants