fix: response

This commit is contained in:
Lakhan Samani 2022-10-18 21:46:37 +05:30
parent 8e655bcb5b
commit cddfe1e088

View File

@ -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