Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to implement Single Sign In using Appwrite? #8034

Open
2 tasks done
Achraf112Ben opened this issue Apr 27, 2024 · 2 comments
Open
2 tasks done

Is there any way to implement Single Sign In using Appwrite? #8034

Achraf112Ben opened this issue Apr 27, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested stale

Comments

@Achraf112Ben
Copy link

馃敄 Enhancement description

Hi guys, I have a question please.

Can SSI (Single Sign In) be implemented one way or an other using Appwrite?

What I'm basically trying to implement is a kind of a supper app just like Google or Meta which have a lot off apps and services under it's wing for various purposes.

I'd like a user to be able to Sign In only one time on the mother app and be automatically signed in on all the sub-apps as a result. Exactly like it is for when you sign in once on google and you can use that single sign in on all google products: Youtube, Search, Maps, etc.

One thing to note is some of these sub-apps would have their independent domain names while others would only have a subdomain of the mother app.

So far, the only straight forward way I've thought of to implement this usecase using Appwrite is to put all the sub-apps under the same project/database. But I'm afraid that this would hinder greatly the performance of Appwrite and would make the projects messy and difficult to maintain.

Thanks in advance for your advices 馃檹

馃帳 Pitch

This would help a lot of people have the same usecase as to implement an SSI unsing appwrite

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@Achraf112Ben Achraf112Ben added the enhancement New feature or request label Apr 27, 2024
@Achraf112Ben Achraf112Ben changed the title Is there any way to implement SSO using Appwrite? Is there any way to implement SSI using Appwrite? Apr 27, 2024
@Achraf112Ben Achraf112Ben changed the title Is there any way to implement SSI using Appwrite? Is there any way to implement Single Sign In using Appwrite? Apr 27, 2024
@stnguyen90
Copy link
Contributor

To do SSO (single sign on) like you're describing typically requires having some sort of auth provider, but Appwrite doesn't act as an auth provider.

The best thing to do is probably to use an auth provider that supports OIDC. Then, you can make a project for each app and enable the OAuth2 OIDC provider so that people can log in through the auth provider. The idea is they should already have a session with the provider so they won't need to authenticate again. Instead, they just need to authorize the new project to have access.

@stnguyen90 stnguyen90 added the question Further information is requested label May 1, 2024
@stnguyen90 stnguyen90 self-assigned this May 1, 2024
Copy link

github-actions bot commented May 9, 2024

This issue has been labeled as a 'question', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants