<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006zkkBqCAIOkta Classic EngineSingle Sign-OnAnswered2025-07-05T09:00:50.000Z2021-05-30T00:35:34.000Z2021-11-03T19:12:14.000Z

4y8tu (4y8tu) asked a question.

What is the Relay State for the Oracle Cloud Infrastructure app (SAML 2.0)?

I have set up SSO for Oracle Cloud Infrastructure (OCI) according to the instructions here:

https://saml-doc.okta.com/SAML_Docs/How-to-Configure-SAML-2.0-for-Oracle-Cloud-Infrastructure.html

 

I can now log in to OCI using Okta as the identity provider, so that's good.

 

One minor thing I can't figure out though, is that when I try to access OCI by clicking on the OCI app in the Okta dashboard, I get the following response:

 

{

"code" : "InvalidParameter",

"message" : "Request does not contain any relay state. Are you using idp-initiated flow?"

}

 

Based on the Okta logs, it appears that I have successfully authenticated, but I don't understand what this "relay state" problem is or how to fix it.

 

 

 


  • ittu4 (ittu4)

    The RelayState it's referring to is likely this (not an answer, but hopefully a hint?)

     

    https://support.oracle.com/knowledge/Oracle%20Cloud/2497983_1.html

    • P6 EPPM, Unifier and all Enabling Technologies in the Cloud support both SP Initiated Authentication and IdP Initiated Authentication.In SP initiated SSO:
      • The SP generates an AuthnRequest that is sent to the IdP as the first step in the Federation process, and the IdP responds with a SAML Response.
    • RelayState:
      • Oracle (SP) populates an 'ID' attribute in the SAML assertion
        • The IdP should relay back the value in an 'InResponseTo' attribute.

     

    Also, IDP doesn't use a relay state:

     

    • In IdP initiated SSO:
      • The Federation process is initiated by the IdP sending an unsolicited SAML response to the SP.

     

    so maybe it's saying that it got a relay state attribute that it wasn't expecting, or vice versa. It looks like the first flow with relaystate is only for SSO initiated from OCI, and IdP is for Okta type SSO?

     

    Expand Post
  • 4y8tu (4y8tu)

    It's my understanding (now) that OCI does not support IdP initiated SSO; that's why this doesn't work.

     

    I think the most reasonable option at this point is to hide the OCI chiclet on the Okta dashboard, and optionally provide a custom chiclet that is simply a link to the OCI SSO login page.

This question is closed.
Loading
What is the Relay State for the Oracle Cloud Infrastructure app (SAML 2.0)?