Okay I try to add my 42 school (with api) as Oauth option in flutter. Firstly, how can I know if my api from 42 School is compatible with OpenID (I dont really understand what is OpenID). Secondly, what is the name of the Oauth here ?
Future<models.Account> login() async {
await _account.createOAuth2Session(provider: '');
return _account.get();
}
You put there openid
Okay the provider is oidc, but Im having a problem during login
But I dont understand what is openid ? Also there is another provider Auth0, is omething similar ?
Do you have set the openid credentials in the appwrite dashboard?
There are many providers. You can check all of them in the appwrite console
Yes but Im not sure if this is the good one
I wanna add a custom provider... that doesnt exist (42 school)
You will need to first know what protocol is the provider using (OAuth 2, etc.) They don't provide any references?
yes there is a reference : https://api.intra.42.fr/apidoc I guess its OAuth 2
yes its OAuth 2 -> https://api.intra.42.fr/apidoc/guides/web_application_flow
I guess the problem come from the scope : scope=openid+profile+email (during oauth)
Recommended threads
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- Provider not enabled in Dotnet project
# Bug Report: Appwrite .NET SDK `CreateOAuth2Token` → `project_provider_disabled` ## Issue Using **Appwrite .NET SDK (v3.1.0)**, `CreateOAuth2Token` for Googl...
- Stuck on project restoration after inact...
Hey there! My project was paused due to inactivity today. I tried to restore it, but it's completely stuck on the restoration process. Could someone please tak...