
c2i45 (c2i45) asked a question.
Hello,
Configured the app using SAML, when I access the app through the browser it works fine (redirecting to SP and back). But when I try to access it through the Okta dashboard (click the app on the dashboard) it is giving me the error (as shown below). This happens after I enter credentials.
FYI, In the configuration Relay state is blank.
Any help is appreciated. Thank you.

Depends on the application. Some apps only support SP-initiated login flows (the login process begins at a URL hosted by the SP).
If your app only supports SP-initiated logins, simply hide your app's icon (since clicking on it generates an error) and create a "bookmark" app that points to the SP's URL.
Also, check with your SP. If they support IdP-initiated logins, they may be able to provide you with the correct value to put in the RelayState field.