Skip to content

Commit

Permalink
have login & logout working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Mar 14, 2024
1 parent 88a1210 commit c9645c2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
Binary file modified authentik/database.7z
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions presenter/.env.dist
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# AUTH
PUBLIC_ENV__AUTH__AUTHORITY="http://localhost:9000/application/o/dreammall/"
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/default-invalidation-flow/"
PUBLIC_ENV__AUTH__CLIENT_ID="dreammall-presenter"
PUBLIC_ENV__AUTH__AUTHORITY_SIGNOUT_URI="http://localhost:9000/if/flow/dreammallearth-invalidation-flow/"
PUBLIC_ENV__AUTH__CLIENT_ID="G3g0sjCjph1NAyGeeu5Te5ltx1I7WZ0DGB8i6vOI"
PUBLIC_ENV__AUTH__REDIRECT_URI="http://localhost:3000/auth"
PUBLIC_ENV__AUTH__SILENT_REDIRECT_URI="http://localhost:3000/silent-refresh"
PUBLIC_ENV__AUTH__RESPONSE_TYPE="code"
Expand Down
7 changes: 4 additions & 3 deletions presenter/src/env.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
const AUTH = {
AUTHORITY: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY ??
'http://localhost:9000/application/o/dreammall/') as string,
'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_SIGNOUT_URI: (import.meta.env.PUBLIC_ENV__AUTH__AUTHORITY_SIGNOUT_URI ??
'http://localhost:9000/if/flow/default-invalidation-flow/') as string,
CLIENT_ID: (import.meta.env.PUBLIC_ENV__AUTH__CLIENT_ID ?? 'dreammall-presenter') as string,
'http://localhost:9000/if/flow/dreammallearth-invalidation-flow/') as string,
CLIENT_ID: (import.meta.env.PUBLIC_ENV__AUTH__CLIENT_ID ??
'G3g0sjCjph1NAyGeeu5Te5ltx1I7WZ0DGB8i6vOI') as string,
REDIRECT_URI: (import.meta.env.PUBLIC_ENV__AUTH__REDIRECT_URI ??
'http://localhost:3000/auth') as string,
SILENT_REDIRECT_URI: (import.meta.env.PUBLIC_ENV__AUTH__SILENT_REDIRECT_URI ??
Expand Down

0 comments on commit c9645c2

Please sign in to comment.