<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00009w49AOCAYOkta Classic EngineSingle Sign-OnAnswered2024-01-04T15:37:41.000Z2024-01-02T21:05:05.000Z2024-01-04T15:37:41.000Z

RicoM.93673 (Customer) asked a question.

Issue on RelayState parameter with IdP inititated SAML

If the RelayState query parameter value have a "https://" in it, it is being changed to "https:/" on redirect

 

i.e.

if I pass RelayState as (pay attention to the redirect_uri value):

 

/abc/MyOauthConsent?response_type=code&response_mode=query&client_id=thisismyclientidhere&scope=openid%20offline_access&redirect_uri=https://myredirect.server.com&state=anystatehere&nonce=this-is-a-nonce-1703003137645

 

the actual url ends up being:

 

https://myserver.com//abc/MyOauthConsent?response_type=code&response_mode=query&client_id=thisismyclientidhere&scope=openid%20offline_access&redirect_uri=https:/myredirect.server.com&state=anystatehere&nonce=this-is-a-nonce-1703003137645

 

redirect fails because the redirect_uri now becomes https:/myredirect.server.com (notice the single slash)


This question is closed.
Loading
Issue on RelayState parameter with IdP inititated SAML
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply