heymind/OneDrive-Index-Cloudflare-Worker

Get 'invalid_request' error message while trying to obtain an access token

jasonliuuu opened this issue · 0 comments

Failed to fetch an access token in step 4 of the Microsoft Graph API Auth, as it returned the following error message:

{"error":"invalid_request",
"error_description":"AADSTS90023: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type.\r\n
Trace ID: 453b0c3d-1fe6-4b38-ab32-b28f87451a01\r\n
Correlation ID: b822bb6f-d14b-48ec-bb56-c8e0b123935c\r\n
Timestamp: 2020-08-09 07:49:42Z",
"error_codes":[90023],
"timestamp":"2020-08-09 07:49:42Z",
"trace_id":"453b0c3d-1fe6-4b38-ab32-b28f87451a01",
"correlation_id":"b822bb6f-d14b-48ec-bb56-c8e0b123935c"}