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