Fix: cannot extract identity provider name (#5558)

fix: cannot extract identity provider name

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
This commit is contained in:
Wenhao Zhou
2023-03-01 13:35:37 +08:00
committed by GitHub
parent a3a6a1cd98
commit c3623cdda3

View File

@@ -676,7 +676,7 @@ func (h *handler) userinfo(req *restful.Request, response *restful.Response) {
func (h *handler) loginByIdentityProvider(req *restful.Request, response *restful.Response) {
username, _ := req.BodyParameter("username")
password, _ := req.BodyParameter("password")
idp := req.PathParameter("identiyprovider")
idp := req.PathParameter("identityprovider")
h.passwordGrant(idp, username, password, req, response)
}