Skip to content

Microsoft Graph - OneDrive Example #775

Closed
xcomprs wants to merge 274 commits intoscribejava-2.2.2from
master
Closed

Microsoft Graph - OneDrive Example #775
xcomprs wants to merge 274 commits intoscribejava-2.2.2from
master

Conversation

@xcomprs
Copy link

@xcomprs xcomprs commented Jun 15, 2017

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 !!

s-gromov and others added 30 commits March 11, 2016 12:54
service builder more generic
…s and other flows without need of the API secret)
kullfar and others added 28 commits April 18, 2017 11:47
@kullfar
Copy link
Member

kullfar commented Jun 30, 2017

erroneously created.
look for the question here: #776 .

@kullfar kullfar closed this Jun 30, 2017
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.