james
05/30/2023, 11:25 PM@View
functionality, but it does serve a static website, so when Google’s login flow redirects the user to <http://localhost:3000/oauth/callback/google>
with a successful login, I am not sure how to proceed
ideally I would like to:
• catch that callback, validate the id token with Google ✅
• generate a user session token ✅
• store the user session token in a cookie ❓
• bounce the user to a specific statically served page ❓
the checks are the parts I know how to do, the question marks are the parts I am unsure about. any tips would be greatly appreciated 🙏