summaryrefslogtreecommitdiff
path: root/microservices/01-oauth2-server/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'microservices/01-oauth2-server/src/main/resources')
-rw-r--r--microservices/01-oauth2-server/src/main/resources/application.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/microservices/01-oauth2-server/src/main/resources/application.yaml b/microservices/01-oauth2-server/src/main/resources/application.yaml
index b263a5e..cf2c490 100644
--- a/microservices/01-oauth2-server/src/main/resources/application.yaml
+++ b/microservices/01-oauth2-server/src/main/resources/application.yaml
@@ -9,6 +9,7 @@ server:
spring:
application:
name: oauth2-server
+ # Define the API gateway as an OAuth2 client.
security:
oauth2:
authorizationserver:
@@ -31,6 +32,7 @@ spring:
- "profile"
require-authorization-consent: false
+# Define test users and their passwords. You can add more if you want.
app:
users:
- username: admin