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
chip
chip•3mo ago
Start by reading pocketbase docs
chip
chip•3mo ago
PocketBase - Open Source backend in 1 file
Open Source backend in 1 file with realtime database, authentication, file storage and admin dashboard
indee
indee•3mo ago
yea i read some of it but i am not getting how to do oauth2 can you help me doing that
noe 💜
noe 💜•3mo ago
What parts do you not get?
indee
indee•3mo ago
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
noe 💜
noe 💜•3mo ago
Did you read the documentation?
indee
indee•3mo ago
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
noe 💜
noe 💜•3mo ago
Did you read the linked documentation above?
indee
indee•3mo ago
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
noe 💜
noe 💜•3mo ago
Please read the code comment.
No description
indee
indee•3mo ago
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
noe 💜
noe 💜•3mo ago
Of course!
indee
indee•3mo ago
ok now i got another problem 😅
indee
indee•3mo ago
No description
noe 💜
noe 💜•3mo ago
Read the error code and Google it.
indee
indee•3mo ago
Okay i have one small doubt . just a small one the redirect page should be localhost port of react one or the pocketbase one ?
noe 💜
noe 💜•3mo ago
Look into how redirect pages work in OAuth and you'll find your answer.
indee
indee•3mo ago
okay still bro its not happening idk what wrong i am doing