Skip to content

Commit

Permalink
fix: BFF_ALLOWED_REDIRECT_URIS as array (#16746)
Browse files Browse the repository at this point in the history
* fix: BFF_ALLOWED_REDIRECT_URIS as array

* chore: charts update dirty files

---------

Co-authored-by: andes-it <[email protected]>
  • Loading branch information
busla and andes-it authored Nov 6, 2024
1 parent 5c113d9 commit eac4f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/islandis/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ services-bff-portals-admin:
enabled: true
env:
BFF_ALLOWED_EXTERNAL_API_URLS: '["https://api.island.is"]'
BFF_ALLOWED_REDIRECT_URIS: 'https://island.is'
BFF_ALLOWED_REDIRECT_URIS: '["https://island.is"]'
BFF_CACHE_USER_PROFILE_TTL_MS: '3595000'
BFF_CALLBACKS_BASE_PATH: 'https://island.is/stjornbord/bff/callbacks'
BFF_CLIENT_BASE_URL: 'https://island.is'
Expand Down
2 changes: 1 addition & 1 deletion infra/src/dsl/bff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const bffConfig = ({ key, services, clientName, clientId }: BffInfo) => {
local: json([`http://localhost:4200/${key}`]),
dev: ref((ctx) => json([`https://${getBaseUrl(ctx)}`])),
staging: ref((ctx) => json([`https://${getBaseUrl(ctx)}`])),
prod: 'https://island.is',
prod: json(['https://island.is']),
},
BFF_LOGOUT_REDIRECT_URI: {
local: `http://localhost:4200/${key}`,
Expand Down

0 comments on commit eac4f4f

Please sign in to comment.