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 for #4608- do not throw exception for ADFS + WithTenantId #4753

Merged
merged 1 commit into from May 13, 2024

Conversation

bgavrilMS
Copy link
Member

@bgavrilMS bgavrilMS commented May 8, 2024

Fixes #4608

This will help partners (Id.Web) keep their code simple and not having to worry about authority type in OBO.

AzureAD/microsoft-identity-web#2509

Note that normally there should not even be a tid claim in the ADFS tokens. However, there are some cases when admins choose to manually add this claim (set it to some static value) to make ADFS work with some Web APIs :). It's an "adapter" pattern of sorts.

Changes proposed in this request

Testing

Performance impact

Documentation

  • All relevant documentation is updated.

@bgavrilMS bgavrilMS requested a review from a team as a code owner May 8, 2024 15:30
@bgavrilMS bgavrilMS changed the title Fix for #2509 - do not throw exception for ADFS + WithTenantId Fix for #4608- do not throw exception for ADFS + WithTenantId May 8, 2024
@bgavrilMS bgavrilMS marked this pull request as draft May 10, 2024 12:15
@bgavrilMS bgavrilMS marked this pull request as ready for review May 13, 2024 11:22
@bgavrilMS bgavrilMS merged commit be0ea5c into main May 13, 2024
6 checks passed
@bgavrilMS bgavrilMS deleted the bogavril/2509 branch May 13, 2024 11:23
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.

[Bug] Ignore WithTenantId on non-tenated authorities
3 participants