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

Update docs on OnBehalfOf authentication flow #1617

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ndiritu
Copy link
Contributor

@Ndiritu Ndiritu commented Nov 15, 2024

Updates guidance on on-behalf-of flow.

Previous description insinuated that an access token for Microsoft Graph could be re-used as an assertion, however this leads to an invalid_grant error when the same token is used as the assertion in the on-behalf-of flow.

On-behalf-of flow expects the initial access token issued to have an audience (aud) claim of the intermediary API then the intermediary can exchange the assertion for a Microsoft Graph access token.

This PR updates the description to reflect this better & links to various resources.

Azure Identity docs are not very clear about setting this up.

closes #1472
closes #1607

Microsoft Reviewers: Open in CodeFlow

@Ndiritu Ndiritu requested a review from a team as a code owner November 15, 2024 10:25
@Ndiritu Ndiritu marked this pull request as draft November 15, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant