fix: response
This commit is contained in:
parent
8e655bcb5b
commit
cddfe1e088
|
@ -180,8 +180,11 @@ func AuthorizeHandler() gin.HandlerFunc {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
handleResponse(gc, responseMode, loginURL, redirectURI, map[string]interface{}{
|
handleResponse(gc, responseMode, loginURL, redirectURI, map[string]interface{}{
|
||||||
|
"type": "authorization_response",
|
||||||
|
"response": map[string]string{
|
||||||
"code": code,
|
"code": code,
|
||||||
"state": state,
|
"state": state,
|
||||||
|
},
|
||||||
}, http.StatusOK)
|
}, http.StatusOK)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user