Skip to content

Conversation

rileybolen
Copy link

@rileybolen rileybolen commented Feb 23, 2024

This PR adds a new DfOAuthTwoOboProvider trait, which implements the modified user authentication flow, needed to implement the Microsoft OAuth 2.0 On-Behalf-Of flow. The most important change is to the public function user() function, which requests an initial OAuth token, but now must request two additional access tokens through the OBO flow. One token will be used to access the target API resource, and one will be used to load the authenticated user's data from Microsoft Graph.

See also, the accompanying PR in the df-azure-ad repo: dreamfactorysoftware/df-azure-ad#14

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.

1 participant