Issue
I am trying to authenticate superset flask user with OAuth (flask-oauthlib
) by having Django Oauth server. But, In flask config.py OAUTH_PROVIDERS
, there is no redirect_uri for getting the temporary authorization code from the Django oauth server. How do I fix this?
Solution
I solved this issue, for people facing this, the redirect uri has to be given in this format in your custom OAuth2 server <your_application_client_domain>/oauth-authorized/<provider_name>
For example, If I create an OAuth2 provider dictionary entry called djangooauth
in flask settings with all credentials given to it, the redirect uri to be given to the server while creating a client would be <client-domain>/oauth-authorized/djangooauth
Answered By - A100
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.