-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I'm trying to use @node-cli-toolkit/generate-oauth-token-cli exactly as mentioned in the documentation.
How can one set a proper OAuth scope?
Most servers requires to define an OAuth scope, in my case scope should be profile offline_access.
I used:
generate-oauth-token-cli --authorizationURL=https://auth.censored.com/oauth2/authorize --tokenURL=https://auth.censored.com/oauth2/token --appKey=12censored34 --appSecret=AcensoredZ
but from the console log I see, that server responds with an error:
_header: 'GET /auth/callback?error=invalid_scope&error_description=%22scope%22+must+contain+at+least+one+value HTTP/1.1\r\n'
and that is exactly because of the missing scope.
Metadata
Metadata
Assignees
Labels
No labels