commit df94ab94fb
Author: Robert Kaussow <mail@thegeeklab.de> Date: Thu Jul 8 10:20:36 2021 +0200 feat: add new option JWT_SIGNING_ALGORITHM (gitea v1.15)
This commit is contained in:
parent
7aaef90ef2
commit
63df931a64
13
index.md
13
index.md
|
@ -49,6 +49,7 @@ Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community manage
|
|||
* [gitea_install_lock](#gitea_install_lock)
|
||||
* [gitea_invalidate_refresh_tokens](#gitea_invalidate_refresh_tokens)
|
||||
* [gitea_jwt_secret](#gitea_jwt_secret)
|
||||
* [gitea_jwt_signing_algorithm](#gitea_jwt_signing_algorithm)
|
||||
* [gitea_landing_page](#gitea_landing_page)
|
||||
* [gitea_lfs_enabled](#gitea_lfs_enabled)
|
||||
* [gitea_lfs_jwt_secret](#gitea_lfs_jwt_secret)
|
||||
|
@ -480,12 +481,22 @@ gitea_invalidate_refresh_tokens: false
|
|||
|
||||
### gitea_jwt_secret
|
||||
|
||||
#### Default value
|
||||
OAuth2 authentication secret for access and refresh tokens. Should be replaced by your own secret. Only works if `gitea_jwt_signing_algorithm` is set to HS256, HS384 or HS512.
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
gitea_jwt_secret: Bk0yK7Y9g_p56v86KaHqjSbxvNvu3SbKoOdOt2ZcXvU
|
||||
```
|
||||
|
||||
### gitea_jwt_signing_algorithm
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_jwt_signing_algorithm: RS256
|
||||
```
|
||||
|
||||
### gitea_landing_page
|
||||
|
||||
#### Default value
|
||||
|
|
Loading…
Reference in New Issue