-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
馃殌 Feature: Custom / Credential Auth Support #7458
Comments
Thanks for raising this very detailed issue! Custom auth tokens are coming in Appwrite 1.5! |
Thanks for the information. Looking forward to the feature addition. |
This should be possible in 1.5 with the custom token login method. |
Hi @stnguyen90, when we expect custom token in stable version? I'm using flutter sdk and it's not available yet. |
@Prashant4900, the |
馃敄 Feature description
Add support for a custom auth adapter allows authentication using credentials (a token/payload that can be verified by Appwrite to be authentic, e.g., JWT). This will allow developers to integrate Appwrite with virtually any existing auth system and remove the dependency of having to wait on the Appwrite community to support a specific auth provider.
The idea comes from Firebase where they had implemented the feature of supporting custom authentication which can be boiled down to 3 steps:
馃帳 Pitch
Why
There are dozens (if not hundreds) of authentication / OAuth providers. Even the immensely active community of Appwrite can't implement every authentication provider.
As a result, there are many open issues with requests for adding support for some Authentication providers. Some examples I could find: #5897 #7231 #6978 #1778. Providing support for a custom auth system will allow the developers to add support for such authentication systems as per their use case and reduce the burden on the community.
How to use
Here's how a simple version of how this could be implemented with JWT.
The text was updated successfully, but these errors were encountered: