diff options
Diffstat (limited to 'microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway')
| -rw-r--r-- | microservices/02-api-gateway/linux/deb/package/etc/ceit-fs-api-gateway/application.yaml | 5 |
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: |
