Browse Source

Updated OAuth2Templates

pull/3557/head
vzikratyi 6 years ago
parent
commit
a3f93554ee
  1. 3
      application/src/main/data/json/system/oauth2_config_templates/facebook_config.json
  2. 3
      application/src/main/data/json/system/oauth2_config_templates/github_config.json
  3. 3
      application/src/main/data/json/system/oauth2_config_templates/google_config.json

3
application/src/main/data/json/system/oauth2_config_templates/facebook_config.json

@ -14,6 +14,7 @@
"tenantNameStrategy": "DOMAIN"
},
"comment": null,
"icon": "mdi:facebook",
"loginButtonIcon": "mdi:facebook",
"loginButtonLabel": "Login with Facebook",
"helpLink": "https://developers.facebook.com/docs/facebook-login/web#logindialog"
}

3
application/src/main/data/json/system/oauth2_config_templates/github_config.json

@ -9,6 +9,7 @@
"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",
"loginButtonIcon": "mdi:github",
"loginButtonLabel": "Login with Github",
"helpLink": "https://docs.github.com/en/developers/apps/creating-an-oauth-app"
}

3
application/src/main/data/json/system/oauth2_config_templates/google_config.json

@ -15,6 +15,7 @@
"tenantNameStrategy": "DOMAIN"
},
"comment": null,
"icon": "mdi:google",
"loginButtonIcon": "mdi:google",
"loginButtonLabel": "Login with Google",
"helpLink": "https://developers.google.com/adwords/api/docs/guides/authentication"
}
Loading…
Cancel
Save