From 844a3768b0ac733ed91c98bc48c9bcd9e863a948 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 17 Dec 2022 17:54:14 -0800 Subject: [PATCH] Minor change. --- .../src/main/webapp/WEB-INF/app.properties | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/wise-webapp/src/main/webapp/WEB-INF/app.properties b/wise-webapp/src/main/webapp/WEB-INF/app.properties index 72ff952b..82720249 100755 --- a/wise-webapp/src/main/webapp/WEB-INF/app.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/app.properties @@ -137,9 +137,13 @@ security.ldap.firstName.attribute=givenName ####################################################################################### # Google OAuth Authentication ####################################################################################### - +# OAuth Client id +#security.oauth2.google.clientId= +# OAuth Client secret +#security.oauth2.google.clientSecret= # Redirect to this url, this url must be configured in the google app {baseurl}/c/registration-google -security.oauth2.google.callbackUrl=https://wisemapping.com/c/registration-google +#security.oauth2.google.callbackUrl= + # Google service for finish registration process, ie. exchange temporal code for user token security.oauth2.google.confirmUrl=https://oauth2.googleapis.com/token # Google service for get user data (name, email, etc) @@ -147,11 +151,8 @@ security.oauth2.google.userinfoUrl=https://www.googleapis.com/oauth2/v3/userinfo # Url for starting auth process with google security.oauth2.google.url=https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=${security.oauth2.google.callbackUrl}&prompt=consent&response_type=code&client_id=${security.oauth2.google.clientId}&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&access_type=offline&state=wisemapping&include_granted_scopes=true -# Configure the following settings ... -# OAuth Client id -#security.oauth2.google.clientId= -# OAuth Client secret -#security.oauth2.google.clientSecret= + + ####################################################################################### # User Account filtering policies