I am trying to create a simple login with traditional auth setup where there's a login/register for email and password and also Oauth like google, facebook and discord.
I am trying to mix the two on single page first before separating them so i can work on same file.
Goal: Login successfully both email+password and OAuth method and redirect user to logged after successfully login in or register.
What's happening: Login/register work on both method, email password successfully redirecting to logged in or as logged in, while OAuth user successfully register based on record in appwrite auth users dashboard
Issue Summary: OAuth is not redirecting as "logged in"
My Reference Docs:
- https://appwrite.io/docs/products/auth/email-password
- https://appwrite.io/docs/products/auth/oauth2#profile
- https://appwrite.io/docs/references/cloud/client-web/account#createOAuth2Session
Source Code:
Project Structure:
- Nextjs 15.1.3 (Pages Directory, JS)
- Appwrite ^14.0.1
- React 19
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...