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
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...