diff --git a/.gitignore b/.gitignore index 9b96968f..ba65853c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ certs/ .vscode/ dist/ +lite-idp diff --git a/idp/password.go b/idp/password.go index decdabbd..7c2568bc 100644 --- a/idp/password.go +++ b/idp/password.go @@ -78,7 +78,11 @@ func (i *IDP) DefaultPasswordLoginHandler() http.HandlerFunc { if err != nil { return err } - requestID := r.Form.Get("requestId") + var requestID string + if requestID = r.Form.Get("requestId"); requestID == `` { + //try pulling it from a query parameter + requestID = r.URL.Query().Get("requestId") + } data, err := i.TempCache.Get(requestID) if err != nil { return err