<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
0D54z00009xQWdRCAWOkta Classic EngineSingle Sign-OnAnswered2025-09-13T09:01:51.000Z2024-01-20T12:22:39.000Z2024-02-08T06:36:16.000Z
How to redirect to web app after successful saml with IdP initiated SSO

I have a web app that uses Okta with OIDC. Now I want to use an external IDP. Created the Identity provider in Okta(SP), Also set the Web App Application in Okta(IdP) and set the relay state to multiple values but none of them work.

What I am looking for is that using the Embed Link form the Idp Okta, someone initiates the authentication and finally lands on the Web App that's configured with Okta(SP)Screenshot from 2024-01-20 20-09-29Screenshot from 2024-01-20 19-59-40  

Here this video(https://www.youtube.com/watch?v=tLaFX3t_rZA ) is what I am looking for. but I am not taken to the web app(okta-auth-js-getwithpopup.glitch.me?login). This app is set up as an application in the SP Okta with OIDC

 

I have added in the okta OIDC app "Initiate login Uri" If this is what okta uses, the same Uri has been set in the "Default Relay State" field on the IdP app, which is used to redirect the user after a successful SAML. However, in my case, okta finally redirects to the below URL

https://dev-xxxxx.okta.com/signon?fromLogin=true

that is the domain is ignored and the URL path is appended to the base domain ("https://dev-xxxxx.okta.com")

 

It is not redirecting outside the base domain("https://dev-xxxxxx.okta.com") 

 

 

Also, Please confirm, that to achieve the above, I need to redirect to a page in my web app where I initiate the authentication again with Okta. So that, my OIDC app gets the ID tokens and an authentication response on the "Sign-in redirect URIs" setup on my Web app.

Building Apps with Okta and using SAML Inbound Federation from another Okta customer

Here we have an App that authenticates with Okta via OIDC.
Now a Customer (who uses Okta) wants to add SAML inbound federation to my app.
https://developer.okta.com/docs/guides/add-an-external-idp/saml2/main/

Chapters:
00:00 1. Context
02:09 2. Add SAML App on Customers Okta (IDP Side)
03:19 2.a. Map Attributes
04:00 2.b. Save URLS & Cert to send to SP
04:18 2.c. Create Group, Assign App & Users to Group
05:19 3. Create External IDP on Service Provider (SP) Side
06:17 3.a. Input URLS and Cert from Customer
07:02 3.b. Set Routing Rules For Customers Domain
07:53 3.c. Copy SP SAML configs back to Customer
08:48 4. Test!

https://www.youtube.com/watch?v=tLaFX3t_rZA


This question is closed.
Loading
How to redirect to web app after successful saml with IdP initiated SSO