]> source.dussan.org Git - gitea.git/commit
Support HTTP POST requests to `/userinfo`, aligning to OpenID Core specification...
authorMarcell Mars <ki.ber@kom.uni.st>
Wed, 20 Nov 2024 14:22:48 +0000 (15:22 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 14:22:48 +0000 (14:22 +0000)
commit56bff7ae234ee21d0e4524e401a49385c383ccaf
treeb098718fb3235a4cd2888681f659c3eb1ce48697
parent355889dbc2432554f0bcdb22f918488849f0016c
Support HTTP POST requests to `/userinfo`, aligning to OpenID Core specification (#32578)

This PR adds support for the HTTP POST requests to `/userinfo` endpoint.
While the OpenID Core specification says both are supported and
recommends using HTTP GET.

ref: https://openid.net/specs/openid-connect-core-1_0.html#UserInfo
routers/web/web.go