Skip to content

Commit

Permalink
🔧 Updated local configuration to include sso route and new frontend r…
Browse files Browse the repository at this point in the history
…oute
  • Loading branch information
devtobi committed Dec 11, 2024
1 parent 8c124e7 commit 848072e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions refarch-gateway/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ spring:
cloud:
gateway:
routes:
- id: sso
uri: http://localhost:8100/
predicates:
- "Path=/api/sso/userinfo"
filters:
- RewritePath=/api/sso/userinfo, /auth/realms/local_realm/protocol/openid-connect/userinfo
- id: backend
uri: http://localhost:39146/
predicates:
Expand All @@ -12,7 +18,7 @@ spring:
- RewritePath=/api/backend-service/(?<urlsegments>.*), /$\{urlsegments}
- "RemoveResponseHeader=WWW-Authenticate"
- id: frontend
uri: http://localhost:4173/
uri: http://localhost:8081/
predicates:
- "Path=/**"
security:
Expand All @@ -29,4 +35,4 @@ spring:
provider: sso
client-id: local
client-secret: client_secret
scope: profile, openid
scope: profile, openid

0 comments on commit 848072e

Please sign in to comment.