🐛 Fixed error messages on self-client callback page

This commit is contained in:
Maxim Lebedev 2023-08-06 06:42:23 +06:00
parent 35fc020b9b
commit 5f30a94fdb
Signed by: toby3d
GPG key ID: 1F14E25B7C119FC5

View file

@ -10,10 +10,10 @@ import (
type ClientCallbackRequest struct {
Error domain.ErrorCode `form:"error,omitempty"`
Iss domain.ClientID `form:"iss"`
Code string `form:"code"`
Iss domain.ClientID `form:"iss,omitempty"`
Code string `form:"code,omitempty"`
ErrorDescription string `form:"error_description,omitempty"`
State string `form:"state"`
State string `form:"state,omitempty"`
}
func (req *ClientCallbackRequest) bind(r *http.Request) error {