Skip to content

Commit

Permalink
fix: issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Dec 22, 2023
1 parent 735dfb6 commit 9fc042f
Show file tree
Hide file tree
Showing 273 changed files with 745 additions and 138 deletions.
4 changes: 4 additions & 0 deletions components/operator/apis/stack/v1beta3/stack_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ func (s *Stack) GetScheme() string {
return "https"
}

func (s *Stack) PublicURL() string {
return fmt.Sprintf("%s://%s", s.GetScheme(), s.Spec.Host)
}

func (s *Stack) URL() string {
return "http://gateway:8000"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ data:
- public: false
description: null
redirectUris:
- http://example.net/auth/login
- http://gateway:8000/auth/login
PostLogoutRedirectUris:
- http://example.net/auth/destroy
- http://gateway:8000/auth/destroy
scopes:
- openid
- profile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
(auth) {
auth {
issuer http://example.net/api/auth
issuer http://gateway:8000/api/auth
read_key_set_max_retries 10
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: auth
Expand Down Expand Up @@ -137,13 +139,15 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: control
- name: STACK
value: monopod-disabled-one-service
- name: API_URL
value: http://example.net
value: http://gateway:8000
- name: ENCRYPTION_KEY
value: 9h44y2ZqrDuUy5R9NGLA9hca7uRUr932
- name: ENCRYPTION_IV
Expand All @@ -153,7 +157,7 @@ spec:
- name: CLIENT_SECRET
value: mocked-secret
- name: REDIRECT_URI
value: http://example.net
value: http://gateway:8000
- name: UNSECURE_COOKIES
value: "false"
image: ghcr.io/formancehq/control:latest
Expand Down Expand Up @@ -200,6 +204,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: gateway
Expand Down Expand Up @@ -270,6 +276,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: payments-api
Expand Down Expand Up @@ -351,6 +359,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: payments-connectors
Expand Down Expand Up @@ -415,6 +425,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: search
Expand Down Expand Up @@ -503,6 +515,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: search-benthos
Expand Down Expand Up @@ -592,6 +606,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: stargate
Expand Down Expand Up @@ -655,6 +671,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: wallets
Expand Down Expand Up @@ -728,6 +746,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: webhooks
Expand Down Expand Up @@ -805,6 +825,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: webhooks-worker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ data:
- public: false
description: null
redirectUris:
- http://example.net/auth/login
- http://gateway:8000/auth/login
PostLogoutRedirectUris:
- http://example.net/auth/destroy
- http://gateway:8000/auth/destroy
scopes:
- openid
- profile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
(auth) {
auth {
issuer http://example.net/api/auth
issuer http://gateway:8000/api/auth
read_key_set_max_retries 10
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: auth
Expand Down Expand Up @@ -137,13 +139,15 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: control
- name: STACK
value: monopod-latest
- name: API_URL
value: http://example.net
value: http://gateway:8000
- name: ENCRYPTION_KEY
value: 9h44y2ZqrDuUy5R9NGLA9hca7uRUr932
- name: ENCRYPTION_IV
Expand All @@ -153,7 +157,7 @@ spec:
- name: CLIENT_SECRET
value: mocked-secret
- name: REDIRECT_URI
value: http://example.net
value: http://gateway:8000
- name: UNSECURE_COOKIES
value: "false"
image: ghcr.io/formancehq/control:latest
Expand Down Expand Up @@ -200,6 +204,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: gateway
Expand Down Expand Up @@ -267,6 +273,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: ledger
Expand Down Expand Up @@ -344,6 +352,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: orchestration
Expand Down Expand Up @@ -423,6 +433,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: orchestration-worker
Expand Down Expand Up @@ -499,6 +511,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: payments-api
Expand Down Expand Up @@ -580,6 +594,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: payments-connectors
Expand Down Expand Up @@ -644,6 +660,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: search
Expand Down Expand Up @@ -732,6 +750,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: search-benthos
Expand Down Expand Up @@ -821,6 +841,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: stargate
Expand Down Expand Up @@ -884,6 +906,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: wallets
Expand Down Expand Up @@ -957,6 +981,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: webhooks
Expand Down Expand Up @@ -1034,6 +1060,8 @@ spec:
- name: DEV
value: "false"
- name: STACK_URL
value: http://gateway:8000
- name: STACK_PUBLIC_URL
value: http://example.net
- name: OTEL_SERVICE_NAME
value: webhooks-worker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ data:
- public: false
description: null
redirectUris:
- http://example.net/auth/login
- http://gateway:8000/auth/login
PostLogoutRedirectUris:
- http://example.net/auth/destroy
- http://gateway:8000/auth/destroy
scopes:
- openid
- profile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
(auth) {
auth {
issuer http://example.net/api/auth
issuer http://gateway:8000/api/auth
read_key_set_max_retries 10
}
Expand Down
Loading

0 comments on commit 9fc042f

Please sign in to comment.