Skip to content

Setting a custom redirect_uri when using the GoogleOAuth2 class to generate a client #275

Answered by pcnoic
pcnoic asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, it was just some clicks and a coffee away. You can set a custom redirect_uri when using the get_oauth_router from the fastapi_users package. There is the optional parameter of :param redirect_url: Optional arbitrary redirect URL for the OAuth2 flow.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pcnoic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant