Setting up a demo, getting login failure. I followed all of the instructions to get up a new application, everything is in place, but when the Authn request is made to Auth0, I get a non-descriptive error: “type”: “f”, “error”: {
“oauthError”: “invalid_request”,
“type”: “request-error”
},
I’m not sure what to do next. Everything the AI helper is saying is not really an issue, and I don’t know what is invalid about the request. I do have it signed, and the cert that I set up in the Application is the same one on my end.
The SAML implementation is custom on this end, so I can check/adjust anything. But with a vague error, I’m not sure what is wrong? Any ideas?
It’s not signed, and I haven’t uploaded a cert to Auth0. Also, the user (mine) is already logged in, and authorized for this app. There’s no place to put Issuer/EntityId, but the callback URL is correct.
Finally, one more observation - I am getting two hits to the log in the Web UI - the second has my client Id, the first doesn’t. Otherwise they are exactly the same.
Thank you for sharing this with the Community, I’m glad to hear that you’ve found the fix for the issue!
Wanted to add some more details here in case others encounter a similar issue of “oauthError”: “invalid_request”, “type”: “request-error”, this can usually indicate that the SAML Request is not valid in some way. You can use tools such as https://www.samltool.io/ to analyze a SAML Token and troubleshoot the issue.
Just to have these handy as well, I will share some documentations that could further help: