Skip to content

Request Microsoft Graph OneDrive Example  #776

@xcomprs

Description

@xcomprs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions