Skip to content

Commit

Permalink
feat: Remove DEFAULT_CUSTOMER_ID [DEV-2851] (#318)
Browse files Browse the repository at this point in the history
Remove DEFAULT_CUSTOMER_ID.
  • Loading branch information
abdulla-ashurov committed Aug 4, 2023
1 parent a1ad4ca commit c072af6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ By default, `ENABLE_AUTHENTICATION` is set to off/`false`. To enable external Ve
1. `LOGTO_DEFAULT_ROLE_ID`: LogTo Role ID for the default role to put new users into.
2. `LOGTO_WEBHOOK_SECRET`: Webhook secret to authenticate incoming webhook requests from LogTo.
5. **Miscellaneous**
1. `DEFAULT_CUSTOMER_ID`: Customer/user in LogTo to use for unauthenticated users
2. `COOKIE_SECRET`: Secret for cookie encryption.
1. `COOKIE_SECRET`: Secret for cookie encryption.

### 3rd Party Connectors

Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ ARG LOGTO_DEFAULT_RESOURCE_URL
ARG LOGTO_APP_ID
ARG LOGTO_APP_SECRET
ARG CORS_ALLOWED_ORIGINS
ARG DEFAULT_CUSTOMER_ID
ARG COOKIE_SECRET
ARG LOGTO_M2M_APP_ID
ARG LOGTO_M2M_APP_SECRET
Expand Down Expand Up @@ -95,7 +94,6 @@ ENV EXTERNAL_DB_CERT ${EXTERNAL_DB_CERT}

# Environment variables: LogTo
ENV ENABLE_AUTHENTICATION ${ENABLE_AUTHENTICATION}
ENV DEFAULT_CUSTOMER_ID ${DEFAULT_CUSTOMER_ID}
ENV LOGTO_ENDPOINT ${LOGTO_ENDPOINT}
ENV LOGTO_DEFAULT_RESOURCE_URL ${LOGTO_DEFAULT_RESOURCE_URL}
ENV LOGTO_APP_ID ${LOGTO_APP_ID}
Expand Down
1 change: 0 additions & 1 deletion example.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ COOKIE_SECRET='sdf...sdf'

# Authentication
ENABLE_AUTHENTICATION="false"
DEFAULT_CUSTOMER_ID="default customer id"

# verida
ENABLE_VERIDA_CONNECTOR="string,default:false"
Expand Down
1 change: 0 additions & 1 deletion src/types/environment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ declare global {

// Authentication
ENABLE_AUTHENTICATION: string | "false"
DEFAULT_CUSTOMER_ID: string | undefined
COOKIE_SECRET: string

// Verida
Expand Down

0 comments on commit c072af6

Please sign in to comment.