From 63df931a64df77636c71ce1fbf407c2254b646da Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 8 Jul 2021 08:28:47 +0000 Subject: [PATCH] commit df94ab94fb81e6f793bf5effb5350365bbf1fcbc Author: Robert Kaussow Date: Thu Jul 8 10:20:36 2021 +0200 feat: add new option JWT_SIGNING_ALGORITHM (gitea v1.15) --- index.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/index.md b/index.md index 49e4ce8..f9944a4 100644 --- a/index.md +++ b/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