6 changed files with 69 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||||
|
{ |
||||
|
"providerId": "Github", |
||||
|
"accessTokenUri": "https://github.com/login/oauth/access_token", |
||||
|
"authorizationUri": "https://github.com/login/oauth/authorize", |
||||
|
"scope": ["read:user","user:email"], |
||||
|
"jwkSetUri": null, |
||||
|
"userInfoUri": "https://api.github.com/user", |
||||
|
"clientAuthenticationMethod": "basic", |
||||
|
"userNameAttributeName": "login", |
||||
|
"basic": {}, |
||||
|
"comment": "In order to log into ThingsBoard you need to have user's email. You may configure and use Custom OAuth2 Mapper to get email information. Please refer to <a href=\"https://docs.github.com/en/rest/reference/users#list-email-addresses-for-the-authenticated-user\">Github Documentation</a>", |
||||
|
"icon": "mdi:github", |
||||
|
"helpLink": "https://docs.github.com/en/developers/apps/creating-an-oauth-app" |
||||
|
} |
||||
@ -0,0 +1,20 @@ |
|||||
|
{ |
||||
|
"providerId": "Google", |
||||
|
"additionalInfo": null, |
||||
|
"accessTokenUri": "https://oauth2.googleapis.com/token", |
||||
|
"authorizationUri": "https://accounts.google.com/o/oauth2/v2/auth", |
||||
|
"scope": ["email","openid","profile"], |
||||
|
"jwkSetUri": "https://www.googleapis.com/oauth2/v3/certs", |
||||
|
"userInfoUri": "https://openidconnect.googleapis.com/v1/userinfo", |
||||
|
"clientAuthenticationMethod": "basic", |
||||
|
"userNameAttributeName": "email", |
||||
|
"basic": { |
||||
|
"emailAttributeKey": "email", |
||||
|
"firstNameAttributeKey": "given_name", |
||||
|
"lastNameAttributeKey": "family_name", |
||||
|
"tenantNameStrategy": "DOMAIN" |
||||
|
}, |
||||
|
"comment": null, |
||||
|
"icon": "mdi:google", |
||||
|
"helpLink": "https://developers.google.com/adwords/api/docs/guides/authentication" |
||||
|
} |
||||
Loading…
Reference in new issue