Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove nx-command impl #16532

Merged
merged 3 commits into from
Oct 23, 2024
Merged

chore: remove nx-command impl #16532

merged 3 commits into from
Oct 23, 2024

Conversation

busla
Copy link
Member

@busla busla commented Oct 23, 2024

  • chore: move nx runcommand cli to a new PR
  • chore: commit save point

...

Attach a link to issue if relevant

What

Specify what you're trying to achieve

Why

Specify why you need to achieve this

Screenshots / Gifs

Attach Screenshots / Gifs to help reviewers understand the scope of the pull request

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Formatting passes locally with my changes
  • I have rebased against main before asking for a review

@busla busla requested a review from a team as a code owner October 23, 2024 12:56
@busla busla removed the request for review from a team October 23, 2024 12:57
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.74%. Comparing base (1395ef8) to head (d19344a).
Report is 1 commits behind head on feat/bff.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           feat/bff   #16532    +/-   ##
==========================================
  Coverage     36.73%   36.74%            
==========================================
  Files          6860     6850    -10     
  Lines        142080   141643   -437     
  Branches      40528    40392   -136     
==========================================
- Hits          52199    52045   -154     
+ Misses        89881    89598   -283     
Flag Coverage Δ
air-discount-scheme-backend 54.22% <ø> (ø)
air-discount-scheme-web 0.00% <ø> (ø)
api 3.37% <ø> (ø)
api-catalogue-services 77.85% <ø> (ø)
api-domains-air-discount-scheme 37.30% <ø> (ø)
api-domains-assets 26.71% <ø> (ø)
api-domains-auth-admin 48.48% <ø> (ø)
api-domains-communications 39.91% <ø> (ø)
api-domains-criminal-record 47.83% <ø> (ø)
api-domains-driving-license 44.56% <ø> (-0.05%) ⬇️
api-domains-education 31.58% <ø> (ø)
api-domains-health-insurance 34.77% <ø> (ø)
api-domains-mortgage-certificate 34.90% <ø> (ø)
api-domains-payment-schedule 41.51% <ø> (ø)
application-api-files 56.86% <ø> (ø)
application-core 71.64% <ø> (ø)
application-system-api 41.39% <ø> (+0.02%) ⬆️
application-template-api-modules 27.86% <ø> (+0.03%) ⬆️
application-templates-accident-notification 29.27% <ø> (ø)
application-templates-car-recycling 3.12% <ø> (ø)
application-templates-criminal-record 26.34% <ø> (ø)
application-templates-driving-license 18.32% <ø> (-0.02%) ⬇️
application-templates-estate 12.26% <ø> (+<0.01%) ⬆️
application-templates-example-payment 25.14% <ø> (ø)
application-templates-financial-aid 15.58% <ø> (+0.01%) ⬆️
application-templates-general-petition 23.44% <ø> (ø)
application-templates-inheritance-report 6.49% <ø> (ø)
application-templates-marriage-conditions 15.17% <ø> (ø)
application-templates-mortgage-certificate 43.85% <ø> (ø)
application-templates-parental-leave 29.96% <ø> (-0.08%) ⬇️
application-types 6.63% <ø> (ø)
application-ui-components 1.28% <ø> (ø)
application-ui-shell 21.01% <ø> (+<0.01%) ⬆️
auth-admin-web 2.43% <ø> (ø)
auth-nest-tools 30.02% <ø> (ø)
auth-react 22.44% <ø> (ø)
auth-shared 75.00% <ø> (ø)
clients-charge-fjs-v2 24.11% <ø> (ø)
clients-driving-license 40.56% <ø> (ø)
clients-driving-license-book 43.70% <ø> (ø)
clients-financial-statements-inao 49.32% <ø> (ø)
clients-license-client 1.83% <ø> (ø)
clients-middlewares 72.86% <ø> (-0.34%) ⬇️
clients-regulations 42.66% <ø> (ø)
clients-rsk-company-registry 29.76% <ø> (ø)
clients-rsk-personal-tax-return 38.00% <ø> (ø)
clients-smartsolutions 12.77% <ø> (ø)
clients-syslumenn 49.34% <ø> (ø)
clients-zendesk 54.61% <ø> (ø)
cms 0.42% <ø> (ø)
cms-translations 39.04% <ø> (ø)
content-search-index-manager 95.65% <ø> (ø)
content-search-toolkit 8.16% <ø> (ø)
contentful-apps 5.44% <ø> (ø)
dokobit-signing 63.38% <ø> (ø)
download-service 44.39% <ø> (ø)
email-service 61.13% <ø> (ø)
feature-flags 91.11% <ø> (ø)
file-storage 53.71% <ø> (ø)
financial-aid-backend 56.52% <ø> (+0.11%) ⬆️
financial-aid-shared 18.94% <ø> (ø)
icelandic-names-registry-backend 54.34% <ø> (ø)
infra-nest-server 48.37% <ø> (ø)
infra-tracing 43.24% <ø> (ø)
island-ui-core 28.39% <ø> (ø)
judicial-system-api 18.36% <ø> (-0.07%) ⬇️
judicial-system-audit-trail 69.35% <ø> (ø)
judicial-system-backend 55.15% <ø> (-0.14%) ⬇️
judicial-system-formatters 79.25% <ø> (ø)
judicial-system-message 67.24% <ø> (ø)
judicial-system-message-handler 48.35% <ø> (ø)
judicial-system-scheduler 69.54% <ø> (ø)
judicial-system-types 47.12% <ø> (ø)
judicial-system-web 27.91% <ø> (+<0.01%) ⬆️
license-api 42.82% <ø> (+0.08%) ⬆️
localization 10.15% <ø> (ø)
logging 48.43% <ø> (ø)
message-queue 68.58% <ø> (ø)
nest-audit 68.20% <ø> (ø)
nest-aws 60.29% <ø> (ø)
nest-config 78.44% <ø> (ø)
nest-feature-flags 51.52% <ø> (-0.51%) ⬇️
nest-problem 45.82% <ø> (ø)
nest-sequelize 94.44% <ø> (ø)
nest-swagger 51.71% <ø> (ø)
nova-sms 62.74% <ø> (ø)
portals-admin-regulations-admin 1.86% <ø> (ø)
portals-core 16.04% <ø> (ø)
reference-backend 49.74% <ø> (ø)
regulations 16.78% <ø> (ø)
residence-history 85.00% <ø> (ø)
services-auth-admin-api 51.95% <ø> (ø)
services-auth-delegation-api 57.34% <ø> (ø)
services-auth-ids-api 51.46% <ø> (-0.02%) ⬇️
services-auth-personal-representative 45.20% <ø> (+0.03%) ⬆️
services-auth-personal-representative-public 41.34% <ø> (+<0.01%) ⬆️
services-auth-public-api 48.96% <ø> (ø)
services-documents 60.81% <ø> (ø)
services-endorsements-api 53.79% <ø> (ø)
services-sessions 65.52% <ø> (+0.04%) ⬆️
services-university-gateway 48.30% <ø> (ø)
services-user-notification 47.07% <ø> (+0.08%) ⬆️
services-user-profile 62.28% <ø> (+0.44%) ⬆️
shared-components 27.06% <ø> (ø)
shared-form-fields 31.59% <ø> (-0.02%) ⬇️
shared-mocking 60.89% <ø> (ø)
shared-pii 92.85% <ø> (ø)
shared-problem 87.50% <ø> (ø)
shared-utils 27.69% <ø> (ø)
skilavottord-ws 24.24% <ø> (ø)
testing-e2e 66.66% <ø> (ø)
web 1.82% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 101 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1395ef8...d19344a. Read the comment docs.

@datadog-island-is
Copy link

Datadog Report

All test runs fdb6d27 🔗

92 Total Test Services: 0 Failed, 89 Passed
🔻 Test Sessions change in coverage: 16 decreased, 26 increased, 156 no change

Test Services
This report shows up to 10 services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Code Coverage Change Test Service View
air-discount-scheme-backend 0 0 0 81 0 23.48s N/A Link
air-discount-scheme-web 0 0 0 2 0 9.03s N/A Link
api 0 0 0 4 0 3.06s N/A Link
api-catalogue-services 0 0 0 23 0 12.7s N/A Link
api-domains-air-discount-scheme 0 0 0 6 0 19.38s N/A Link
api-domains-assets 0 0 0 3 0 12.17s 1 no change Link
api-domains-auth-admin 0 0 0 18 0 13.38s 1 no change Link
api-domains-communications 0 0 0 5 0 35.9s N/A Link
api-domains-criminal-record 0 0 0 5 0 10.63s N/A Link
api-domains-driving-license 0 0 0 23 0 32.54s N/A Link

🔻 Code Coverage Decreases vs Default Branch (16)

This report shows up to 5 code coverage decreases.

  • nest-core - jest 0% (-48.21%) - Details
  • react-spa-shared - jest 15.62% (-8.97%) - Details
  • shared-mocking - jest 58.86% (-4.01%) - Details
  • shared-components - jest 33.41% (-1.37%) - Details
  • portals-core - jest 23.93% (-0.77%) - Details

@busla busla merged commit 6fedbee into feat/bff Oct 23, 2024
265 checks passed
@busla busla deleted the remove-nx-command-impl branch October 23, 2024 14:29
kodiakhq bot added a commit that referenced this pull request Oct 31, 2024
* Initial bootstrap for bff

* environment audit not optional

* Add infra file for admin-portal

* Auth login controller and service implemented

* Updates to auth and user modules and services

* Update project readme

* Add secret

* Remove unnecessary config

* Fix env config for ids

* Remove unused util isString

* chore: nx format:write update dirty files

* Rename dto to queries

* Add logout flow

* Finalize logout logic

* Remove proxy

* Move type from service to type file

* chore: nx format:write update dirty files

* Delete libs/auth/react/src/lib/bff/BFFProvider.tsx

* Delete libs/auth/react/src/lib/bff/BFFContext.tsx

* Small refactor in auth service

* Small refactor in test

* Small refactor

* Fix esbuild

* Add scope

* chore: nx format:write update dirty files

* Updates to bff service and client. WIP

* chore: nx format:write update dirty files

* Finishing proxy handling by the bff

* Add scope to token response for backwards compatibility

* Encrypted tokens, hooks update for admin portal, switch user, proxy updated

* feat(proxy-api): Support for proxy api, hooks update, regulations download connection with bff

* Better naming env

* Rename secrets in infra

* Refactor after self review

* Fix test and env cleanup

* Fix user menu test

* Updates to environment and config

* Update infra allowed external api urls to be hard coded

* Simplify client urls with bff postfix in it

* Add ingress to project and remove logout redirect path in favour of client base url

* Add docker express to services bff

* update config simpler syntax

* chore: nx format:write update dirty files

* Update config and redis dev setup

* Update crypto service to include algorithm in the encryption, explain better in comments what encrypt/decrypt is doing and update crypto test to not use mock

* Remove CORS entirely in favour of client proxy config

* Update error handling in bff backend, refactor infra and handle error query param in client

* When proxy service errors then handle as unauthorized. Update targetUrl to be defensive, i.e. no undefined possible.

* Remove unnecessary Uint8Array conversion

* Simplify the BFFUser object to not have dateOfBirth and remove double scope field which was due to backwards compatibility

* Update cookies to share constants, update options to be more secure

* access token expire time latency by 5 sec

* remove omit

* Update user profile cache ttl

* update cache ttl again and rename baseUrl to issuerUrl in ids service

* reaname var

* remove params from cache attempt that where not used in the callback

* Clean up old session in login callback if it exists

* Fix login callback cache clean up and revoke refresh token

* Update logout flow to clean up, revoke tokens and better validation. Also deletes the logout callback

* remove unused import

* Simplify error in favour of enhanced fetch

* created enhanced fetch module, moved pkce service to services, updated proxy service and a little refactor

* par support flag not optional

* Fix typo

* Add better validation to crypto decryption function

* Update validate uri to be more secure, create test for validate uri. Update port range in environment

* Remove state param from logout to ensure it will not be passed to redirect uri

* Adding more tests and increasing security in the function

* Refactor after reading comments from coderabbit

* remove private from method for test

* Move portal scopes to shareable location.

* Remove unused import

* Add no_refresh query to user endpoint in backend

* Polling and broadcaster added to react spa bff library

* Enhanced security in pkce service.and improve error handling to be more secure

* Update usePolling to have better types and secure resumabiltiy.

* Refactor useBroadcaster.

* Add client logic to handle the case if bff server goes down

* Fix tests and builds

* Fix portal infra local vars

* DX infra setup for services-bff

* Remove error log from revokeRefreshToken since it is handled by enhancedFetch and update download service local url

* Rename cached toke fields to be prefixed with encrypted and fix where encryption was missing. Also fix for revoking wrong token

* Better handling on errors in auth service

* Update api requests formatting and handling to handle exceptions and errors better.

* Update apps/services/bff/src/app/bff.config.ts

simpler redis config

Co-authored-by: Eiríkur Heiðar Nilsson <[email protected]>

* cleanup after commit from github

* Update after our pull request AI suggested the change

* Remove broadcaster mocks

* Remove redundant timeout in favour of poller

* Fix portal config, fix redis cache module init, update bff provider to handle logout in before redirect

* Remove timeout in logout broadcasting and throw the error in postRequest if not successful plain text response

* Revert the timeout in the logout

* chore: charts update dirty files

* Rename queries to dto for consistency in monorepo and add log for logout callback

* Fix cli error that got merged from main

* Fix prettier formatting error

* chore: nx format:write update dirty files

* fix storybook build

* ci: trigger from levy user

* fix: use portals-admin, added portal-env test

* Revert manual validation and use library

* Use fetch instead of post in download url

* Fix type errors and add forward get proxy api request

* fix: main conflict

* chore: charts update dirty files

* fix: prettier issues

* chore: prettify

* chore: nx format:write update dirty files

* ci: add services-bff to helm chart

* Fix env vars for feature deploy

* Fix health check to be excluded from prefix

* update global prefix logic

* update bff services options

* Remove bff redis name env var

* Update bff config again

* Update portal env spec for feature branch

* chore: charts update dirty files

* Update validation error log

* Remove database healthcheck

* Revert globalprefix options and update liveness and readiness infra checks

* chore: charts update dirty files

* Add auth controller tests

* Add logout log for testing in feature deploy

* remove unused

* clean up auth controller test

* chore: nx format:write update dirty files

* Add tests for proxy controller

* Add ref to infra for api

* update charts

* add zed editor config to gitignore

* Add support for mocks

* chore: nx format:write update dirty files

* Fix portal env spec

* chore: charts update dirty files

* Update mocking server logic for portals

* update mock logic

* fix: public envs (#16493)

* fix: merge conflict

* fix: improved zod schema generation

* test: update portal-env test for service building

* fix: generate feature deploy urls

* fix: improve getEnvUrl func

* feat: integrated bff to ServiceBuilder

* fix: more abstraction to dsl

* fix: simplify and cleanup

* chore: remove unused file

* chore: cleanup dupes

* chore: nx format:write update dirty files

* chore: more cleanup

---------

Co-authored-by: andes-it <[email protected]>

* chore: remove nx-command impl (#16532)

* chore: move nx runcommand cli to a new PR

* chore: commit save point

* chore: commit save point

* Update infra setup

* fix tests

* chore: charts update dirty files

* fix infra url

* Removed un used import

* fix: revert secret type changes

* chore: nx format:write update dirty files

* chore: cleanup

* fix feature deployment url

* fix tests

* fix missing logger

* chore: nx format:write update dirty files

* update api graphql bff config env var

* fix tests

* fix tests

* chore: charts update dirty files

* chore: nx format:write update dirty files

* grantnamespaces

* chore: charts update dirty files

* disable global auth on dev

* chore: charts update dirty files

* Update double negation query param

* feat: Better error message when running infra cli without aws credentials.

* Adding agent to proxy for for managing connections efficiently

* Enable PAR support

* update tests

* chore: charts update dirty files

---------

Co-authored-by: andes-it <[email protected]>
Co-authored-by: Eiríkur Heiðar Nilsson <[email protected]>
Co-authored-by: Jón Levy <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
kodiakhq bot pushed a commit that referenced this pull request Dec 2, 2024
* Fix user menu test

* Updates to environment and config

* Update infra allowed external api urls to be hard coded

* Simplify client urls with bff postfix in it

* Add ingress to project and remove logout redirect path in favour of client base url

* Add docker express to services bff

* update config simpler syntax

* chore: nx format:write update dirty files

* Update config and redis dev setup

* Update crypto service to include algorithm in the encryption, explain better in comments what encrypt/decrypt is doing and update crypto test to not use mock

* Remove CORS entirely in favour of client proxy config

* Update error handling in bff backend, refactor infra and handle error query param in client

* When proxy service errors then handle as unauthorized. Update targetUrl to be defensive, i.e. no undefined possible.

* Remove unnecessary Uint8Array conversion

* Simplify the BFFUser object to not have dateOfBirth and remove double scope field which was due to backwards compatibility

* Update cookies to share constants, update options to be more secure

* access token expire time latency by 5 sec

* remove omit

* Update user profile cache ttl

* update cache ttl again and rename baseUrl to issuerUrl in ids service

* reaname var

* remove params from cache attempt that where not used in the callback

* Clean up old session in login callback if it exists

* Fix login callback cache clean up and revoke refresh token

* Update logout flow to clean up, revoke tokens and better validation. Also deletes the logout callback

* remove unused import

* Simplify error in favour of enhanced fetch

* created enhanced fetch module, moved pkce service to services, updated proxy service and a little refactor

* par support flag not optional

* Fix typo

* Add better validation to crypto decryption function

* Update validate uri to be more secure, create test for validate uri. Update port range in environment

* Remove state param from logout to ensure it will not be passed to redirect uri

* Adding more tests and increasing security in the function

* Refactor after reading comments from coderabbit

* remove private from method for test

* Move portal scopes to shareable location.

* Remove unused import

* Add no_refresh query to user endpoint in backend

* Polling and broadcaster added to react spa bff library

* Enhanced security in pkce service.and improve error handling to be more secure

* Update usePolling to have better types and secure resumabiltiy.

* Refactor useBroadcaster.

* Add client logic to handle the case if bff server goes down

* Fix tests and builds

* Fix portal infra local vars

* DX infra setup for services-bff

* Remove error log from revokeRefreshToken since it is handled by enhancedFetch and update download service local url

* Rename cached toke fields to be prefixed with encrypted and fix where encryption was missing. Also fix for revoking wrong token

* Better handling on errors in auth service

* Update api requests formatting and handling to handle exceptions and errors better.

* Update apps/services/bff/src/app/bff.config.ts

simpler redis config

Co-authored-by: Eiríkur Heiðar Nilsson <[email protected]>

* cleanup after commit from github

* Update after our pull request AI suggested the change

* Remove broadcaster mocks

* Remove redundant timeout in favour of poller

* Fix portal config, fix redis cache module init, update bff provider to handle logout in before redirect

* Remove timeout in logout broadcasting and throw the error in postRequest if not successful plain text response

* Revert the timeout in the logout

* chore: charts update dirty files

* Rename queries to dto for consistency in monorepo and add log for logout callback

* Fix cli error that got merged from main

* Fix prettier formatting error

* chore: nx format:write update dirty files

* fix storybook build

* ci: trigger from levy user

* fix: use portals-admin, added portal-env test

* Revert manual validation and use library

* Use fetch instead of post in download url

* Fix type errors and add forward get proxy api request

* fix: main conflict

* chore: charts update dirty files

* fix: prettier issues

* chore: prettify

* chore: nx format:write update dirty files

* ci: add services-bff to helm chart

* Fix env vars for feature deploy

* Fix health check to be excluded from prefix

* update global prefix logic

* update bff services options

* Remove bff redis name env var

* Update bff config again

* Update portal env spec for feature branch

* chore: charts update dirty files

* Update validation error log

* Remove database healthcheck

* Revert globalprefix options and update liveness and readiness infra checks

* chore: charts update dirty files

* Add auth controller tests

* Add logout log for testing in feature deploy

* remove unused

* clean up auth controller test

* chore: nx format:write update dirty files

* Add tests for proxy controller

* Add ref to infra for api

* update charts

* add zed editor config to gitignore

* Add support for mocks

* chore: nx format:write update dirty files

* Fix portal env spec

* chore: charts update dirty files

* Update mocking server logic for portals

* update mock logic

* fix: public envs (#16493)

* fix: merge conflict

* fix: improved zod schema generation

* test: update portal-env test for service building

* fix: generate feature deploy urls

* fix: improve getEnvUrl func

* feat: integrated bff to ServiceBuilder

* fix: more abstraction to dsl

* fix: simplify and cleanup

* chore: remove unused file

* chore: cleanup dupes

* chore: nx format:write update dirty files

* chore: more cleanup

---------

Co-authored-by: andes-it <[email protected]>

* Move my-pages over to bff first attempt

* chore: remove nx-command impl (#16532)

* chore: move nx runcommand cli to a new PR

* chore: commit save point

* chore: commit save point

* Update infra setup

* fix tests

* chore: charts update dirty files

* update my pages infra

* fix env in infra

* fix infra url

* Removed un used import

* chore: charts update dirty files

* chore: nx format:write update dirty files

* fix: revert secret type changes

* chore: nx format:write update dirty files

* chore: cleanup

* Removed un used import

* Update after self review

* fix feature deployment url

* fix tests

* fix missing logger

* chore: nx format:write update dirty files

* update api graphql bff config env var

* update api graphql bff config env var

* fix tests

* fix tests

* chore: charts update dirty files

* chore: nx format:write update dirty files

* grantnamespaces

* chore: charts update dirty files

* grantnamespace identity server

* chore: charts update dirty files

* disable global auth on dev

* disable global auth on dev

* chore: charts update dirty files

* Fix UserMenu test

* fix portal core tests

* test: update bff tests

* test: fix scope bad placement

* fix: minor cleanup

* chore: nx format:write update dirty files

* chore: charts update dirty files

* Merge branch 'main' into feat/bff-my-pages

# Conflicts:
#	apps/portals/my-pages/project.json
#	libs/react-spa/bff/src/lib/bff.hooks.ts

* Add authority string to bff state

* update to new bff hooks

* Revert "Merge branch 'main' into feat/bff-my-pages"

This reverts commit 3f74e60.

* chore: charts update dirty files

* chore: nx format:write update dirty files

* Update hooks

* chore: charts update dirty files

* Update formSubmit handler to proxy bff requests and add external post request to proxy.controller

* Fix test

* Small fixes

* chore: rebuild

* update hook after bff addon

* Remove unused commit

* Add issuer to my-pages

* chore: charts update dirty files

* chore: nx format:write update dirty files

* remove unused env var from my pages infra

* chore: charts update dirty files

* Introduce legacy user info hook until application system has implemented bff pattern

* chore: charts update dirty files

* Add useLegacyAuth hook to support both contexts

* Revert back to bff only hooks

* Update global prefix path for my pages

* Fix bff creator logic

* fix tests

* chore: charts update dirty files

* fix tests

* chore: charts update dirty files

* update charts build error

* console.error if no download url is found

* fix document type check

* fix infra paths

* chore: charts update dirty files

* feat(application-system-form): Update application-system to use bff (#16973)

* Update hooks and frontend code for application system

* Add proxy config to application system

* Add support to add allowed redirect uris from bff infras

* chore: charts update dirty files

* chore: nx format:write update dirty files

* add application system scopes to my-pages-portal

* chore: charts update dirty files

* Update mocking setup for all SPAs

---------

Co-authored-by: andes-it <[email protected]>

* update application system ui tests

* Fix tests

* fix islandis build error

* Extend Redis cache keys to be unique between bffs since using same Redis server

* Add deprecation messages to old hooks

* Fix warning

* Fix tests and change separator for cache key

* Remove redundant config

* Remove options from mock

* Fix potential body error

* Make sure that bff scopes are uniq

* chore: nx format:write update dirty files

* Include targetLinkUrl in error redirects

* Update base bff infra to be strict about allowed redirect uris

* Use bff hooks instead in old auth lib

* Add comment about birthday hook and remove user type from isDelegation hook

* Remove optional check on profile

* Update bff redirect url logic

* fix accidental scope switch

* chore: charts update dirty files

* Update prod url for allowed redirect uris

* chore: charts update dirty files

* Move comment above hook

* Update redirect uris

* fix tests

* chore: charts update dirty files

* Fix prod being null

* chore: charts update dirty files

* Fix prod url being null when using ctx.env.domain

* chore: charts update dirty files

* Prod url fix

* chore: charts update dirty files

* Revert removed auth context

* chore: nx format:write update dirty files

---------

Co-authored-by: andes-it <[email protected]>
Co-authored-by: Eiríkur Heiðar Nilsson <[email protected]>
Co-authored-by: Jón Levy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant