<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
0D51Y0000A2RBJFSQ4Okta Classic EngineIntegrationsAnswered2020-12-04T00:35:08.000Z2020-12-01T16:05:29.000Z2020-12-04T00:35:08.000Z

BrantB.64537 (Customer) asked a question.

SAML logout

I have a a custom app running in our production okta environment which I'm trying to re-produce into a developer sandbox so I can run my app on localhost.

 

I have the sign in working via the SAML template; however, I'm having issues with logout.

My production app code issues a GET request to a URL that looks like this:

 

https://mydomain.okta.com/login/signout?fromURI=/app/mycompany_app_1/exk1tz9innbWCrgWH2q7/sso/saml?RelayState=/search

 

This will ultimately log the user out of okta, and send them back to a sign in url for the specific app with the given relay state.

 

When I attempt the same from my developer account with the following,

https://dev-7551574.okta.com/login/signout?fromURI=/app/generic-saml/exkflhp4kb81E52230h7/sso/saml?RelayState=/search/

 

I get redirected a few times then ultimately get a 404 from

https://dev-7551574.okta.com/login/login.htm?fromURI=%2Fapp%2Fgeneric-saml%2Fexkflhp4kb81E52230h7%2Fsso%2Fsaml%3FRelayState%3D%2Fsearch%2F

 

What am I doing wrong here?


  • BrantB.64537 (Customer)

    I was able to resolve by re-creating the app using the "Create New App" button rather than the "SAML Service Provider" from the integrations list.

    Selected as Best
  • BrantB.64537 (Customer)

    I was able to resolve by re-creating the app using the "Create New App" button rather than the "SAML Service Provider" from the integrations list.

    Selected as Best
This question is closed.
Loading
SAML logout