Skip to content

Request Microsoft Graph OneDrive Example  #776

Closed

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

Activity

  1. kullfar commented on Jun 30, 2017

    @kullfar
    Member

    Sorry, no examples

  2. kullfar commented on Jun 30, 2017

    @kullfar
    Member

    Sorry, we have no examples ;-(
    You can add them in case of success! ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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