How to setup Google, GitHub and Twitter along with email password auth system?
- 0
- Accounts
- Web
- Cloud
My app has email signup system but I want to add either any or all of the above OAuth systems giving the user a choice to login/signup based on their preferences.
I don't know how to do that. So, need help with that.
Note: Application is buillt with React.js, Next.js, Tailwind and Appwrite
This is a little outdated, but the general idea applies: https://dev.to/appwrite/30daysofappwrite-oauth-providers-3jf6
FYI, server side rendering won't really work with oauth2 because in oauth2 the session cookie is generated client side.
So, basically there can be any one auth system like either OAuth or just email signup
Hey @Steven I wanna create a feature request regarding this post so that it gets added to Appwrite in the near future
What do you mean?
Currently we can't keep 2 or 3 auth systems together for a application. So, this should be feature request so that in the near future developers can add this kind of feature to their application to give the users a choice to use email/password or Google OAuth or something else while sign up/log in.
Sorry, I don't understand...of course you can give users the option to log in with
How to do that?
You just do it. There's nothing stopping you...
For example, see this demo: https://github.com/appwrite/playground-for-web
Okay
Recommended threads
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...