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
- Anonymous Sessions using Node SDKs
I am attempting to use anonymous sessions with the Node SDK but I have simply no idea how to persist the session to a cookie, pass it to the session client, etc...
- Auth working for emulator but not for ph...
hey guys i'm using appwrite for expo react native it is working perfectly for emulator but does not working for physical devices can u explain any one and it is...
- unlike any other provider, your sites DN...
your nameservers dont work with a funny little CNAME error, which is a weird bug but thats what you get when you try to be the kitchen sink, funny errors.