]> source.dussan.org Git - gitea.git/commit
Add asymmetric JWT signing (#16010)
authorKN4CK3R <admin@oldschoolhack.me>
Thu, 17 Jun 2021 21:56:46 +0000 (23:56 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Jun 2021 21:56:46 +0000 (23:56 +0200)
commit29695cd6d511823ab0d233bba8c7971e5dac3e5f
tree23935abd6471665745a507dd7e7e5f4ad5c03e8f
parentf7cd394680f885061144d236abc3c25f30be3147
Add asymmetric JWT signing (#16010)

* Added asymmetric token signing.

* Load signing key from settings.

* Added optional kid parameter.

* Updated documentation.

* Add "kid" to token header.
13 files changed:
cmd/generate.go
docs/content/doc/advanced/config-cheat-sheet.en-us.md
docs/content/doc/developers/oauth2-provider.md
models/oauth2.go
models/oauth2_application.go
modules/auth/oauth2/jwtsigningkey.go [new file with mode: 0644]
modules/generate/generate.go
modules/setting/lfs.go
modules/setting/setting.go
routers/install/install.go
routers/web/user/oauth.go
routers/web/web.go
templates/user/auth/oidc_wellknown.tmpl