Skip to content

Commit

Permalink
default to hidden signin&signup buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Mar 14, 2024
1 parent f2e98c9 commit 0acaa8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions presenter/.env.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# AUTH
# PUBLIC_ENV__AUTH__AUTHORITY and PUBLIC_ENV__AUTH__AUTHORITY_SIGNUP_URI
# are not default values since the default is to hide the signin/signup buttons
PUBLIC_ENV__AUTH__AUTHORITY="http://localhost:9000/application/o/dreammallearth/"
PUBLIC_ENV__AUTH__AUTHORITY_SIGNUP_URI="http://localhost:9000/if/flow/default-source-enrollment/"
PUBLIC_ENV__AUTH__AUTHORITY_SIGNOUT_URI="http://localhost:9000/if/flow/dreammallearth-invalidation-flow/"
Expand Down
6 changes: 2 additions & 4 deletions presenter/src/env.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const AUTH = {
AUTHORITY: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY ??
'http://localhost:9000/application/o/dreammallearth/') as string,
AUTHORITY_SIGNUP_URI: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY_SIGNUP_URI ??
'http://localhost:9000/if/flow/default-source-enrollment/') as string,
AUTHORITY: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY ?? '') as string,
AUTHORITY_SIGNUP_URI: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY_SIGNUP_URI ?? '') as string,
AUTHORITY_SIGNOUT_URI: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY_SIGNOUT_URI ??
'http://localhost:9000/if/flow/dreammallearth-invalidation-flow/') as string,
CLIENT_ID: (import.meta.env.PUBLIC_ENV__AUTH__CLIENT_ID ??
Expand Down

0 comments on commit 0acaa8c

Please sign in to comment.