summaryrefslogtreecommitdiff
path: root/microservices/01-oauth2-server/src
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-07-06 06:32:08 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-07-06 06:32:08 +0530
commit5ca98df7caebf56990e26aa83a1a2b626ba16660 (patch)
treee71cd8298a49c95d7a03697ef4324b342b399f3e /microservices/01-oauth2-server/src
parent504045fb23fa75a520a4d2665aea7d423db1fe14 (diff)
Microservices: Documentation improvedHEADmaster
Diffstat (limited to 'microservices/01-oauth2-server/src')
-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