SAML SSO troubleshooting. IdP-initiated login work...
# fleet
s
SAML SSO troubleshooting. IdP-initiated login works perfect. For SP-initiated, when I click on "Sign on with [my IdP]", it immediately says "Authentication failed." Browser dev tools show an XHR POST to /api/v1/fleet/sso is returning a 500 internal server error. Where do I go to get more info and troubleshoot this further?
I'm seeing the JSON response includes "IDP does not support redirect binding"... not sure what that means though
k
Hey @Shawn Maddock. Can you check the Fleet server logs for corresponding errors? What provider are you using>
s
Might have figured it out, this was not checked
I'm not sure if I have the server log enabled? I only have status and results
k
That would be piped to stdout/stderr by default
s
Ah, okay, that'd be in my journal then. Will look.
Just has the same error: "InitiateSSO creating authorization: creating auth request: IDP does not support redirect binding"
lemme try with that option enabled
Hmm, same error. Updated the metadata in app.yml, no change.
It's probably not reading that file now that it's initiated, right? Lemme change it in the DB
Woot! That fixed it. 🙂
k
Nice! Well done.
s
Now to switch to using managed databases 😬