fix code response
This commit is contained in:
parent
3b89a976b3
commit
703c0808b2
1 changed files with 4 additions and 4 deletions
|
@ -415,11 +415,11 @@ func AuthResponseCode(w http.ResponseWriter, r *http.Request, authReq AuthReques
|
|||
return
|
||||
}
|
||||
codeResponse := struct {
|
||||
Code string
|
||||
State string
|
||||
code string
|
||||
state string
|
||||
}{
|
||||
Code: code,
|
||||
State: authReq.GetState(),
|
||||
code: code,
|
||||
state: authReq.GetState(),
|
||||
}
|
||||
callback, err := AuthResponseURL(authReq.GetRedirectURI(), authReq.GetResponseType(), authReq.GetResponseMode(), &codeResponse, authorizer.Encoder())
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue