forked from edgardmessias/glpi-singlesignon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
providers.json
38 lines (38 loc) · 1.81 KB
/
providers.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"azure": {
"url_authorize": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
"url_access_token": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
"url_resource_owner_details": "https://graph.microsoft.com/v1.0/me",
"scope": "User.Read"
},
"facebook": {
"url_authorize": "https://www.facebook.com/v9.0/dialog/oauth",
"url_access_token": "https://graph.facebook.com/v9.0/oauth/access_token",
"url_resource_owner_details": "https://graph.facebook.com/v9.0/me?fields=id,email&access_token=<access_token>&appsecret_proof=<appsecret_proof>",
"scope": "public_profile,email"
},
"github": {
"url_authorize": "https://github.com/login/oauth/authorize",
"url_access_token": "https://github.com/login/oauth/access_token",
"url_resource_owner_details": "https://api.github.com/user",
"scope": "user:email"
},
"google": {
"url_authorize": "https://accounts.google.com/o/oauth2/v2/auth",
"url_access_token": "https://www.googleapis.com/oauth2/v4/token",
"url_resource_owner_details": "https://openidconnect.googleapis.com/v1/userinfo",
"scope": "openid email profile"
},
"instagram": {
"url_authorize": "https://api.instagram.com/oauth/authorize",
"url_access_token": "https://api.instagram.com/oauth/access_token",
"url_resource_owner_details": "https://api.instagram.com/v1/users/self?access_token=<access_token>",
"scope": "basic"
},
"linkedin": {
"url_authorize": "https://www.linkedin.com/oauth/v2/authorization",
"url_access_token": "https://www.linkedin.com/oauth/v2/accessToken",
"url_resource_owner_details": "https://api.linkedin.com/v2/me",
"scope": "r_liteprofile r_emailaddress"
}
}