hey can someone help me setting up google auth with pocketbase and reactidk where to even start
hey can someone help me setting up google auth with pocketbase and react
idk where to even start
i am a beginner in general and pocketbase
18 Replies
Start by reading pocketbase docs
PocketBase - Open Source backend in 1 file
Open Source backend in 1 file with realtime database, authentication, file storage and admin dashboard
yea i read some of it but i am not getting how to do oauth2
can you help me doing that
What parts do you not get?
i mean i need to use the oauth right to get to the google consent screen which gives a jwt
how to get to the google consent screen is where i am stuck
Did you read the documentation?
the pocketbase document only shows how to get the jwt token after it is generated
but how can i generate it
the Oauth process is my problem ig
Did you read the linked documentation above?
yes yes that what i am saying it shows just how to read the jwt token which is already generated
if i am wrong pls correct me
i am beginner
Please read the code comment.
ahhh ig i got . i am just a noob . thank you soo much
it is what takes to everything
i mean google concent form and all
Of course!
ok now i got another problem 😅
Read the error code and Google it.
Okay
i have one small doubt . just a small one the redirect page should be localhost port of react one or the pocketbase one ?
Look into how redirect pages work in OAuth and you'll find your answer.
okay
still bro its not happening
idk what wrong i am doing