Back

How to setup Google, GitHub and Twitter along with email password auth system?

  • 0
  • Accounts
  • Web
  • Cloud
Susmita
28 May, 2023, 14:59

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

TL;DR
The user wants to know how to set up Google, GitHub, and Twitter authentication along with an email/password authentication system. They are requesting a feature to allow multiple authentication systems in their application. There is a link to a demo and a blog post about OAuth providers. The user mentions that server-side rendering may not work with OAuth2. They are looking for help with implementing multiple authentication systems in their React.js, Next.js, Tailwind, and Appwrite application. A solution or response to the user's request is not provided in the thread.
Drake
28 May, 2023, 15:48

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.

Susmita
28 May, 2023, 15:50

So, basically there can be any one auth system like either OAuth or just email signup

Susmita
29 May, 2023, 03:31

Hey @Steven I wanna create a feature request regarding this post so that it gets added to Appwrite in the near future

Drake
29 May, 2023, 07:05

What do you mean?

Susmita
29 May, 2023, 07:07

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.

Drake
29 May, 2023, 07:10

Sorry, I don't understand...of course you can give users the option to log in with

Susmita
29 May, 2023, 07:11

How to do that?

Drake
29 May, 2023, 07:12

You just do it. There's nothing stopping you...

Drake
29 May, 2023, 07:13
Susmita
29 May, 2023, 07:14

Okay

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more