fix: support for oidc post (forgot that)

This commit is contained in:
Stavros
2026-06-08 12:35:13 +03:00
parent 4e671ed48c
commit ede6e8084d
2 changed files with 17 additions and 18 deletions
+4 -4
View File
@@ -108,10 +108,10 @@ type TokenResponse struct {
type AuthorizeRequest struct {
jwt.Claims
Scope string `form:"scope" binding:"required" json:"scope" url:"scope"`
ResponseType string `form:"response_type" binding:"required" json:"response_type" url:"response_type"`
ClientID string `form:"client_id" binding:"required" json:"client_id" url:"client_id"`
RedirectURI string `form:"redirect_uri" binding:"required" json:"redirect_uri" url:"redirect_uri"`
Scope string `form:"scope" json:"scope" url:"scope"`
ResponseType string `form:"response_type" json:"response_type" url:"response_type"`
ClientID string `form:"client_id" json:"client_id" url:"client_id"`
RedirectURI string `form:"redirect_uri" json:"redirect_uri" url:"redirect_uri"`
State string `form:"state" json:"state" url:"state"`
Nonce string `form:"nonce" json:"nonce" url:"nonce"`
CodeChallenge string `form:"code_challenge" json:"code_challenge" url:"code_challenge"`