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

Revert WithTenantID("adfs") regression #529

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

chlowell
Copy link
Collaborator

@chlowell chlowell commented Nov 6, 2024

In v1.3.0, calls like this against an ADFS authority return an error "ADFS authority doesn't support tenants":

client.AcquireTokenSilent(ctx, scopes, confidential.WithTenantID("adfs"))

This happens because #482 made the tenant of an ADFS authority "". In prior versions, that tenant was "adfs", making WithTenantID("adfs") a no-op.

Copy link

sonarqubecloud bot commented Nov 6, 2024

@chlowell chlowell merged commit 9bf4a83 into main Nov 6, 2024
4 checks passed
@chlowell chlowell deleted the chlowell/adfs-tenant branch November 6, 2024 20:08
4gust pushed a commit that referenced this pull request Nov 8, 2024
4gust pushed a commit that referenced this pull request Nov 11, 2024
4gust pushed a commit that referenced this pull request Nov 11, 2024
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