Skip to content

Commit 7b5567b

Browse files
authored
Use new platform auth configuration property (#976)
1 parent 9c1b42f commit 7b5567b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platforms/anchor-platform/admin-guide/component/security/api_key.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To enable API key authentication, modify your `dev.env` file:
44

55
```bash
66
# dev.env
7-
PLATFORM_SERVER_AUTH_TYPE=api_key
7+
PLATFORM_API_AUTH_TYPE=api_key
88
# Will be used as API key
99
SECRET_PLATFORM_API_AUTH_SECRET="your API key that business server will use"
1010
```

platforms/anchor-platform/admin-guide/component/security/jwt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To enable JWT authentication, modify your `dev.env` file:
44

55
```bash
66
# dev.env
7-
PLATFORM_SERVER_AUTH_TYPE=jwt
7+
PLATFORM_API_AUTH_TYPE=jwt
88
# Will be used to sign the JWT token
99
SECRET_PLATFORM_API_AUTH_SECRET="your secret that business server will use"
1010
```

0 commit comments

Comments
 (0)