From a3f93554ee48e249ac48981ef537469eaeccd82c Mon Sep 17 00:00:00 2001 From: vzikratyi Date: Thu, 17 Sep 2020 11:37:22 +0300 Subject: [PATCH] Updated OAuth2Templates --- .../json/system/oauth2_config_templates/facebook_config.json | 3 ++- .../json/system/oauth2_config_templates/github_config.json | 3 ++- .../json/system/oauth2_config_templates/google_config.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/application/src/main/data/json/system/oauth2_config_templates/facebook_config.json b/application/src/main/data/json/system/oauth2_config_templates/facebook_config.json index 1c81a443f3..81097ccc49 100644 --- a/application/src/main/data/json/system/oauth2_config_templates/facebook_config.json +++ b/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" } \ No newline at end of file diff --git a/application/src/main/data/json/system/oauth2_config_templates/github_config.json b/application/src/main/data/json/system/oauth2_config_templates/github_config.json index 17dc1fda4a..819ea4b6b6 100644 --- a/application/src/main/data/json/system/oauth2_config_templates/github_config.json +++ b/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 Github Documentation", - "icon": "mdi:github", + "loginButtonIcon": "mdi:github", + "loginButtonLabel": "Login with Github", "helpLink": "https://docs.github.com/en/developers/apps/creating-an-oauth-app" } \ No newline at end of file diff --git a/application/src/main/data/json/system/oauth2_config_templates/google_config.json b/application/src/main/data/json/system/oauth2_config_templates/google_config.json index 99053b68e6..2573b5ecd0 100644 --- a/application/src/main/data/json/system/oauth2_config_templates/google_config.json +++ b/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" } \ No newline at end of file