-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
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
Does this demo work for Azure? #7
Comments
Have you set the client_secret in oauth.register? |
thx for your reply, there is no |
You have to put the client_secret and client_id in the oauth.register(). You get this client_id and client_secret (it may appear as a different term in provider (Azure)). The demo won't contain the secret because it sensivite information and should be unique to every application. https://realpython.com/flask-google-login/ |
Thx for your reply again. |
Could you provide your code? |
Thanks, this really helped. I also needed to add client_id:
I also found it easier to print the OauthError (it told me my request was missing "client_id"):
|
I try to use this demo on Azure, but some things wrong when I access
oauth.azure.authorize_access_token()
.It shows that the request dosen't contain the client_secret
Does anyone meet the same issue? Or some demos recommended
The text was updated successfully, but these errors were encountered: