Replies: 1 comment 5 replies
-
I do not think redirect_uri is the problem. Step 5: Exchange authorization code for refresh and access tokens says "One of the redirect URIs listed for your project in the API Console Credentials page for the given client_id. " You seem to be doing exactly that. Is there more details in the error message? Also, could you double check whether you are passing in the auth code and not the authorization response? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed this guide and it states the following to convert the auth code to access token, which is by using this library:
However, I don't know what to set on my
redirect_uri
. If I use a registered redirect url and useflow.fetch_token(code=authoriztion_code)
, I get a bad request.My current flow is to request an authorization code in my frontend (Vue) and pass it to my backend (Django) and have it verified. Then, convert it to access token, and make request to the api. Is this okay?
Beta Was this translation helpful? Give feedback.
All reactions