You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @mattstrain ,
Thanks for reaching out. Right now OBO is not supported by azure identity java and we have an issue tracking this here.
The workarounds include using MSAL or relying on frameworks/libraries (like spring) to "trade" the token for your application. Once this is done, you can derive from BaseAuthenticationProvider to pass the new token to the graph client.
Let me know if you have further questions.
With the azure-sdk-for-java you can now obtain authorisation tokens for clients and on behalf of users as part of the API like this.
However all the samples there don't use this API and just call the api directly using a webclient. See azure-spring-boot-sample-active-directory-resource-server-obo
How do we build a GraphService client using this API from a OAuth2AuthorizedClient object?
AB#9805
The text was updated successfully, but these errors were encountered: