Skip to content

Commit

Permalink
Use new platform auth configuration property (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipliu authored Sep 12, 2024
1 parent 9c1b42f commit 7b5567b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ To enable API key authentication, modify your `dev.env` file:

```bash
# dev.env
PLATFORM_SERVER_AUTH_TYPE=api_key
PLATFORM_API_AUTH_TYPE=api_key
# Will be used as API key
SECRET_PLATFORM_API_AUTH_SECRET="your API key that business server will use"
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ To enable JWT authentication, modify your `dev.env` file:

```bash
# dev.env
PLATFORM_SERVER_AUTH_TYPE=jwt
PLATFORM_API_AUTH_TYPE=jwt
# Will be used to sign the JWT token
SECRET_PLATFORM_API_AUTH_SECRET="your secret that business server will use"
```
Expand Down

0 comments on commit 7b5567b

Please sign in to comment.