What is the main purpose of this endpoint? #309
Unanswered
BhuwanPandey
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
This question is more related to fastapi-users, but in a nutshell, you have two cases:
Everything is detailed here: https://fastapi-users.github.io/fastapi-users/12.1/configuration/oauth/#generate-routers |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to integrate google authentication on my website. while integrating google authentication I feel confuse that
What is the reason behind of this route , only authenticate user has allow to use this endpoint . In most of modern website, when user
authenticate first time user get registered and second time user get loggedin .But this package provide two route to play with google authentication.
app.include_router(
fastapi_users.get_oauth_associate_router(google_oauth_client, UserRead, "SECRET"),
prefix="/auth/associate/google",
tags=["auth"],
)
and,
Please suggest me some book and document that include creation of app using this package
Thank you 🙏🙏🙏
Beta Was this translation helpful? Give feedback.
All reactions