I am attempting to integrate with Okta via Java to enable deep links in my application. When I request a deep link, I am correctly redirected to the Okta login page. After entering username and password, I receive a 400 error with the message “Bad SAML Request”.
I’ve used a SAML validator to check the SAML and it always comes back as a valid request and there is nothing in the application logs to indicate that anything has happened, so I don’t know what’s wrong with my SAML Request. At first I thought the problem was that my redirect URL was not added as a trusted origin, but I added it there and it doesn’t seem to have made a difference.
Could anyone point me in a direction that I can explore to try to fix this error? I’m happy to supply more information if it might help.