Skip to content

Conversation

@chrisbonilla95
Copy link
Contributor

@chrisbonilla95 chrisbonilla95 commented Oct 29, 2024

Updated to handle Azure B2C separately when building ClientRegistration. This is necessary because the issuer returned by Azure B2C openid-configuration does not match the requested issuer, causing a mismatch error to be thrown.

A new factory method was introduced (spring-projects/spring-security#15716) for similar issue and will be available in Spring Security 6.4.0. For now we have borrowed the implementation and necessary helpers into our own code and will upgrade the dependency once the stable version is released and we've been able to properly test it.

JIRA: LX-614
risk: high

@chrisbonilla95 chrisbonilla95 force-pushed the cbon-stl-868-azure-b2c-oidc-fix branch 2 times, most recently from e92171f to d311c84 Compare October 30, 2024 11:37
@chrisbonilla95 chrisbonilla95 changed the title draft: commit feat: support for Azure B2C Provider Oct 30, 2024
@chrisbonilla95 chrisbonilla95 force-pushed the cbon-stl-868-azure-b2c-oidc-fix branch from d311c84 to 79414a6 Compare October 30, 2024 16:06
@chrisbonilla95 chrisbonilla95 marked this pull request as ready for review October 30, 2024 16:07
Copy link
Contributor

@jeskepetr jeskepetr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One cosmetic comment otherwise looks good to me.
Thx

Updated to handle Azure B2C separately when building ClientRegistration. This is necessary because the issuer returned by Azure B2C openid-configuration does not match the requested issuer, causing a mismatch error to be thrown.

A new factory method was introduced (spring-projects/spring-security#15716) for similar issue and will be available in Spring Security 6.4.0. For now we have borrowed the implementation and necessary helpers into our own code and will upgrade the dependency once the stable version is released and we've been able to properly test it.

JIRA: LX-614
risk: high
@chrisbonilla95 chrisbonilla95 force-pushed the cbon-stl-868-azure-b2c-oidc-fix branch from 79414a6 to e9eb1d7 Compare October 31, 2024 12:37
@chrisbonilla95 chrisbonilla95 merged commit e6b1190 into master Oct 31, 2024
2 checks passed
@chrisbonilla95 chrisbonilla95 deleted the cbon-stl-868-azure-b2c-oidc-fix branch October 31, 2024 12:58
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