Microsoft Graph - OneDrive Example #775
Closed
xcomprs wants to merge 274 commits intoscribejava-2.2.2from
Closed
Conversation
…ithub.com/maksimlikharev/scribejava into maksimlikharev-resource-owner-password-credentials-grant
service builder more generic
…s and other flows without need of the API secret)
This reverts commit 7c1f00a.
This reverts commit 6b978a6.
…into KungfuPancake-master
…to rogerhu-flickr_api
…requests in the default JDK Http client
…o MrNeuronix-master
Member
|
erroneously created. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Guys,
I trying to connect to Microsoft Graph generating a JWT Access Token but is not working.
Do you have scribejava's example that works for this platform ?
grant_type=client_credentials
client_id=AS_REGISTERED_ABOVE
client_secret=AS_REGISTERED_ABOVE
redirect_uri=https://backendapplicationuri
resource=https://graph.microsoft.com/ (This is important as rest of the document will be using this API to access OneDrive).
curl -X POST -H "Cache-Control: no-cache" -H "Content-Type: application/x-www-form-urlencoded" -d 'grant_type=client_credentials&client_id=XXXXXX&client_secret=XXXXXXXXXX&redirect_uri=https://backendappuri&resource=https://graph.microsoft.com/' "https://login.microsoftonline.com/azure_domain/oauth2/token"
Thanks !!