diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-07-03 21:10:32 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-07-03 21:10:32 +0530 |
| commit | a0f3f5a069153c46ac3a85fa75c3ec50fea6ea99 (patch) | |
| tree | 6e97c9b87c314a8a64a25d3ffe10e710db1740fc /microservices/01-oauth2-server/linux/deb/package/etc/ceit-fs-auth-server/application.yaml | |
| parent | aa122113ade36f02dc8fdbebdf1232b5c4b8742c (diff) | |
Added Linux deb file creation scripts and build-all.sh
Diffstat (limited to 'microservices/01-oauth2-server/linux/deb/package/etc/ceit-fs-auth-server/application.yaml')
| -rw-r--r-- | microservices/01-oauth2-server/linux/deb/package/etc/ceit-fs-auth-server/application.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/microservices/01-oauth2-server/linux/deb/package/etc/ceit-fs-auth-server/application.yaml b/microservices/01-oauth2-server/linux/deb/package/etc/ceit-fs-auth-server/application.yaml new file mode 100644 index 0000000..0ce4a3d --- /dev/null +++ b/microservices/01-oauth2-server/linux/deb/package/etc/ceit-fs-auth-server/application.yaml @@ -0,0 +1,40 @@ +server: + port: 8051 + address: 127.0.0.1 + forward-headers-strategy: native + +#logging: +# level: +# org.springframework.security: trace + +spring: + application: + name: oauth2-server + security: + oauth2: + authorizationserver: + client: + oidc-client: + registration: + client-id: "api-gateway" + client-secret: "{noop}apiGatewayPassword1234" + client-authentication-methods: + - "client_secret_basic" + authorization-grant-types: + - "authorization_code" + - "refresh_token" + redirect-uris: + - "https://fs-react-app.dev.ceit.pdn.ac.lk/bff/login/oauth2/code/api-gateway" + post-logout-redirect-uris: + - "https://fs-react-app.dev.ceit.pdn.ac.lk/" + scopes: + - "openid" + - "profile" + require-authorization-consent: false + +app: + users: + - username: admin + password: "{noop}abc123" + - username: user1 + password: "{noop}abc123" |
