We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems as if the token flow query parameters are incorrect in the authorize() function. Currently it looks like this:
authorize()
const response = await this.fetch('POST', '/oauth2/token', { data: new URLSearchParams({ client_id: this.clientId, code, grant_type: 'authorization_code', redirect_uri: redirectUri, }), });
It seems to be missing the client_secret and scope, as is required for the OAuth token flow. I can open a PR if wanted.
client_secret
scope
The text was updated successfully, but these errors were encountered:
client_secret isn't used on /oauth2/token, since you already have code at that point.
/oauth2/token
code
Sorry, something went wrong.
No branches or pull requests
It seems as if the token flow query parameters are incorrect in the
authorize()
function. Currently it looks like this:It seems to be missing the
client_secret
andscope
, as is required for the OAuth token flow. I can open a PR if wanted.The text was updated successfully, but these errors were encountered: