summaryrefslogtreecommitdiff
path: root/microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml
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/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml
parent504045fb23fa75a520a4d2665aea7d423db1fe14 (diff)
Microservices: Documentation improvedHEADmaster
Diffstat (limited to 'microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml')
-rw-r--r--microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml b/microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml
index d037d5b..d5197fd 100644
--- a/microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml
+++ b/microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml
@@ -49,6 +49,7 @@ spring:
- PrefixPath=/myservices
- TokenRelay # Add oauth (or jwt) token to request header before forwarding
+ # Register this API gateway as an OAuth2 client to the Authorization server.
security:
oauth2:
client:
@@ -66,6 +67,10 @@ spring:
scope:
- openid
- profile
+
+# Extra OAuth2 client configuration. Doing this configuration here is optional and can instead be
+# done without the com.c4-soft.springaddons dependency. In that case, this configuration can be
+# done in a custom security configuration class. This is just convenient compared to that option.
com:
c4-soft:
springaddons: