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•8mo ago
Start by reading pocketbase docs
chip
chip•8mo 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•8mo ago
yea i read some of it but i am not getting how to do oauth2 can you help me doing that
noe 💜
noe 💜•8mo ago
What parts do you not get?
indee
indee•8mo 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 💜•8mo ago
Did you read the documentation?
indee
indee•8mo 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 💜•8mo ago
Did you read the linked documentation above?
indee
indee•8mo 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 💜•8mo ago
Please read the code comment.
No description
indee
indee•8mo 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 💜•8mo ago
Of course!
indee
indee•8mo ago
ok now i got another problem 😅
indee
indee•8mo ago
No description
noe 💜
noe 💜•8mo ago
Read the error code and Google it.
indee
indee•8mo 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 💜•8mo ago
Look into how redirect pages work in OAuth and you'll find your answer.
indee
indee•8mo ago
okay still bro its not happening idk what wrong i am doing
Want results from more Discord servers?
Add your server