This property helps define for Spring security which field in the OAuth2 user info to read in order to determine the username of the user. This is because this field is non-standard across different OAuth2 implementations. For each new OAuth2 provider that we support, this field will be required. Else the default name field will be picked up by Spring security (which is usually the id of the user).
52 lines
1.9 KiB
Properties
52 lines
1.9 KiB
Properties
# Appsmith Configurations
|
|
appsmith.baseUri=http://localhost:8080
|
|
|
|
# This property allows the server to run behind a proxy server and still resolve all the urls correctly
|
|
server.use-forward-headers=true
|
|
|
|
#Mongo properties
|
|
spring.data.mongodb.database=mobtools
|
|
spring.data.mongodb.host=mongo
|
|
spring.data.mongodb.port=27017
|
|
#spring.data.mongodb.username=
|
|
#spring.data.mongodb.password=
|
|
|
|
# Log properties
|
|
logging.level.root=info
|
|
logging.level.com.appsmith=debug
|
|
logging.pattern.console=%X - %m%n
|
|
|
|
#Spring security
|
|
spring.security.oauth2.client.registration.google.client-id=869021686091-9b84bbf7ea683t1aaefqnmefcnmk6fq6.apps.googleusercontent.com
|
|
spring.security.oauth2.client.registration.google.client-secret=9dvITt4OayEY1HfeY8bHX74p
|
|
spring.security.oauth2.client.provider.google.userNameAttribute=email
|
|
|
|
spring.security.oauth2.client.registration.github.client-id=ffa2f7468ea72758871c
|
|
spring.security.oauth2.client.registration.github.client-secret=b9c81a1a3216328b55a7df2d49fe2bbb6b1070f1
|
|
spring.security.oauth2.client.provider.github.userNameAttribute=login
|
|
|
|
# Accounts from specific domains are allowed to login
|
|
oauth2.allowed-domains=appsmith.com
|
|
|
|
# Segment & Rollbar Properties
|
|
# These properties are intentionally set to random values so that events are not sent to either of them during local development
|
|
segment.writeKey=random-value
|
|
com.rollbar.access-token=random-value
|
|
com.rollbar.environment=development
|
|
|
|
# Redis Properties
|
|
spring.redis.host=redis
|
|
spring.redis.port=6379
|
|
|
|
# ACL config parameters
|
|
acl.host=http://opa:8181/v1/data
|
|
acl.package.name=/appsmith/authz/url_allow
|
|
|
|
# Mail Properties
|
|
mail.enabled=true
|
|
spring.mail.host=email-smtp.us-east-1.amazonaws.com
|
|
spring.mail.port=587
|
|
spring.mail.username=AKIAVWHAAGIQOHPT4BZ7
|
|
spring.mail.password=BEE5W6i7YznAJ/YDOLbppovmOlRzxXElJ+uJtGhdCfjY
|
|
spring.mail.properties.mail.smtp.auth=true
|
|
spring.mail.properties.mail.smtp.starttls.enable=true |