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
- TLS provisioning failure for custom doma...
Hi Appwrite team, we’re using Appwrite Sites and TLS provisioning for our custom domain fails. Domain: somnara.app Error: Failed to create TLS subscription –...
- Functions Problem
Whenever I run my AI Generate through Appwrite Functions, I am getting this Call Stack AIService.generateServer (src\services\ai\gemini.ts) next (<native>) ...
- Frequent 500 Internal Server Errors - Pr...
PROJECT ID: 6951f2xxxxx1ee9e750a REGION: Singapore (sgp.cloud.appwrite.io) PLAN: Pro Our production application experiences **500 Internal Server Errors** mult...