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
Describe the bug
When trying to fetch access code there is a problem with retrieval of the code from page URL
Error Stacks
authlib.oauth2.rfc6749.errors.MissingTokenException: missing_token: Missing "access_token" in response.
To Reproduce
try to fetch a token using Microsoft details and command .fetch_token() you will get the above error.
.fetch_token()
Expected behavior
it should return a Bearer token for retrieving user information
Environment:
Additional context Quick fix on my side : code = url.split("code=")[1].split("&")[0] url = url.split("?")[0] + "?code=" + code
code = url.split("code=")[1].split("&")[0]
url = url.split("?")[0] + "?code=" + code
The text was updated successfully, but these errors were encountered:
lepture
No branches or pull requests
Describe the bug
When trying to fetch access code there is a problem with retrieval of the code from page URL
Error Stacks
To Reproduce
try to fetch a token using Microsoft details and command
.fetch_token()
you will get the above error.Expected behavior
it should return a Bearer token for retrieving user information
Environment:
Additional context
Quick fix on my side :
code = url.split("code=")[1].split("&")[0]
url = url.split("?")[0] + "?code=" + code
The text was updated successfully, but these errors were encountered: