Add configuration endpoint.
This commit is contained in:
@@ -18,7 +18,7 @@ spring:
|
||||
writetimeout: 5000
|
||||
output:
|
||||
ansi:
|
||||
enabled=always:
|
||||
enabled: always
|
||||
application:
|
||||
name: wisemapping-api
|
||||
title: wisemapping-api
|
||||
@@ -55,18 +55,23 @@ logging:
|
||||
# Application Configuration.
|
||||
app:
|
||||
site:
|
||||
baseurl: https://localhost:8080
|
||||
ui-base-url: https://localhost:8080
|
||||
api-base-url: https://api.wisemapping.com
|
||||
api:
|
||||
http-basic-enabled: false
|
||||
# analytics:
|
||||
# account:
|
||||
jwt:
|
||||
secret: dlqxKAg685SaKhsQXIMeM=JWCw3bkl3Ei3Tb7LMlnd19oMd66burPNlJ0Po1qguyjgpakQTk2CN3
|
||||
expirationMin: 10080 # One week
|
||||
admin:
|
||||
user: admin@wisemapping.org
|
||||
mail:
|
||||
serverSendEmail: root@localhost
|
||||
supportEmail: root@localhost
|
||||
sender-email: root@localhost
|
||||
support-email: root@localhost
|
||||
enabled: false
|
||||
accounts:
|
||||
max-inactive: 20
|
||||
#######################################################################################
|
||||
# Google OAuth Authentication
|
||||
#######################################################################################
|
||||
@@ -74,7 +79,7 @@ app:
|
||||
#security.oauth2.google.clientId=<config settings>
|
||||
# OAuth Client secret
|
||||
#security.oauth2.google.clientSecret=<oauth client>
|
||||
# Redirect to this url, this url must be configured in the google app {baseurl}/c/registration-google
|
||||
# Redirect to this url, this url must be configured in the google app {ui-base-url}/c/registration-google
|
||||
#security.oauth2.google.callbackUrl=<oauth callback url>
|
||||
security:
|
||||
# corsAllowedOrigins: https://dev.wisemapping.com
|
||||
@@ -82,13 +87,17 @@ app:
|
||||
google:
|
||||
confirmUrl: https://oauth2.googleapis.com/token
|
||||
userinfoUrl: https://www:googleapis.com/oauth2/v3/userinfo
|
||||
callbackUrl: https://app.wisemapping.com/c/registration-google
|
||||
clientId: 625682766634-cocbbbbb403iuvps1evecdk6d7phvbkf.apps.googleusercontent.com
|
||||
url: https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=${app.security.oauth2.google.callbackUrl}&prompt=consent&response_type=code&client_id=${app.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
|
||||
# accounts:
|
||||
# exclusion:
|
||||
# domain:
|
||||
# accounts:
|
||||
# exclusion:
|
||||
# domain:
|
||||
registration:
|
||||
enabled: false
|
||||
enabled: true
|
||||
captcha:
|
||||
enabled: false
|
||||
secretKey: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
||||
siteKey: some-key
|
||||
secretKey: some-secret
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user