Back

Single sign on.

  • 1
  • Web
peppermint
29 Jan, 2024, 00:52

Hi! I have a scenario, there are two different applications hosted on different subdomains, one under app1.domain.dev, the other under app2.domain.dev. If I use Appwrite for my authentication provider, is it possible for my user to log in once at app1.domain.dev then if the user want to access app2.domain.dev the user doesn't need to log in again because he has already logged in at app1.domain.dev? app1.domain.dev is under the same organization but is a separate project from app2.domain.dev.

Is it possible? Can you show me a docs or example how to do it?

Thanks.

TL;DR
Hey developers! One of the users is wondering if it's possible to implement single sign-on (SSO) using Appwrite for two different applications hosted on different subdomains. The user wants the user to log in once on app1.domain.dev and then be able to access app2.domain.dev without logging in again. Both apps are under the same organization but separate projects. Solution: Yes, it is possible to implement SSO using Appwrite. You can find documentation and examples on how to do it on the Appwrite website. Happy coding!
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