Closed
Description
Request for information
I've tried to create a login via GitHub. I've successfully authorised via the app, but when AppAuth
is trying to read the token response the console is saying
Error: JSON error parsing token response: The data couldn’t be read because it isn’t in the correct format.
at createErrorFromErrorData (NativeModules.js:146)
at NativeModules.js:95
at MessageQueue.__invokeCallback (MessageQueue.js:397)
at MessageQueue.js:127
at MessageQueue.__guard (MessageQueue.js:297)
at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:126)
at debuggerWorker.js:72
My config for GitHub is:
const config = {
clientId: 'MY_ID',
clientSecret: 'MY_SECRET,
redirectUrl: 'gaiden://oauth',
scopes: [
'repo',
'notifications',
'user',
],
serviceConfiguration: {
authorizationEndpoint: 'https://github.com/login/oauth/authorize',
tokenEndpoint: 'https://github.com/login/oauth/access_token',
revocationEndpoint:
'https://github.com/settings/connections/applications/MY_ID'
}
}
Would appreciate any help 😄
Metadata
Metadata
Assignees
Labels
No labels