Skip to content

Set default algorithm through config#184

Merged
hajekj merged 4 commits into
TheNetworg:masterfrom
philipdaveby:defaultAlgorithm
May 10, 2023
Merged

Set default algorithm through config#184
hajekj merged 4 commits into
TheNetworg:masterfrom
philipdaveby:defaultAlgorithm

Conversation

@philipdaveby

@philipdaveby philipdaveby commented Mar 10, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

Comment thread composer.json Outdated
@hajekj
hajekj merged commit 83465d3 into TheNetworg:master May 10, 2023
@hajekj

hajekj commented May 10, 2023

Copy link
Copy Markdown
Member

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