-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12837 from RasaHQ/improvement/ATO-1557-jwt-in-env…
…-vars [ATO-1557] Add environment variables for JWT arguments and auth token
- Loading branch information
Showing
8 changed files
with
324 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Added environment variables to configure JWT and auth token. | ||
For JWT the following environment variables are available: | ||
- JWT_SECRET | ||
- JWT_METHOD | ||
- JWT_PRIVATE_KEY | ||
|
||
For auth token the following environment variable is available: | ||
- AUTH_TOKEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
AUTH_TOKEN_ENV = "AUTH_TOKEN" | ||
JWT_SECRET_ENV = "JWT_SECRET" | ||
JWT_METHOD_ENV = "JWT_METHOD" | ||
DEFAULT_JWT_METHOD = "HS256" | ||
JWT_PRIVATE_KEY_ENV = "JWT_PRIVATE_KEY" |
Empty file.
Oops, something went wrong.