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
- createMembership is not sending email wi...
Parameters should be correct. Account and Membership are successfully created. I have a next.js project with localhost origin allowed. I checked spam etc. i...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...
- Oauth issue
Hi, can anyone help me in the Oauth issue, Its working fine in dev but its showing Invalid redirect during production. I have check the redirect url and all. St...