diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-28 17:49:09 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-28 17:49:09 -0600 |
| commit | 30bbdad4ef99449f29f412d0b770e4b9f76ede42 (patch) | |
| tree | c295bb8b9020ba8a609d7a0a527a2a06fc5db342 /pkg/app/routes.go | |
| parent | e47813ecaa942631945215a8c0c938a240c3894a (diff) | |
refactor: move authorizers into authz package
Diffstat (limited to 'pkg/app/routes.go')
| -rw-r--r-- | pkg/app/routes.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/app/routes.go b/pkg/app/routes.go index 9cfa979..ff1291c 100644 --- a/pkg/app/routes.go +++ b/pkg/app/routes.go @@ -9,9 +9,10 @@ import ( func Routes() http.Handler { mux := http.NewServeMux() mux.Handle("/", prxy.New(map[string]string{ - "idp.example.com": "http://localhost:8282", - "ui.example.com": "http://localhost:8283", - "api.example.com": "http://localhost:8284", + "api.example.com": "http://localhost:8284", + "authzd.example.com": "http://localhost:50051", + "idp.example.com": "http://localhost:8282", + "ui.example.com": "http://localhost:8283", })) return mux } |
