<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
0D50Z00008G7VdaSAFOkta Classic EngineSingle Sign-OnAnswered2024-04-30T09:18:25.000Z2018-07-02T15:17:03.000Z2019-09-26T20:14:59.000Z
Auto Launch app doesnt work
Hi!

 

I, an Okta admin of my organization, have created a bookmark app to redirect users to a specific app (or a specific URL). I have checked "Auto-launch the app when user signs into Okta.", but users are still stopped in the /app/UserHome page. If they click the settings on the bookmark app, they can see the checkbox for auto-launching the app is checked, but they are not redirected anyway. 

Am I misunderstanding how this works? Basically, I want all SAML logins to be forwarded to a specific app.

ColinB.71033 likes this.
  • j5v7c (j5v7c)

    Hi,

     

    When you check “Auto-launch the app when user signs into Okta” for a Bookmark, SWA or SAML app, the app should be automatically opened in a new tab/window (depending on browser settings) once the user logins to Okta user interface.

     

    If that doesn’t happen may be something browser related. You can test using different browsers and, also, check browser settings to make sure is not blocking pop-ups or has other security features on that prevents page auto-loading.

     

    Thank you,

    Razvan

    Expand Post
  • ColinB.71033 (Customer)

    Hi, 

     

    I'm having the same issue as Marius. I've checked the "Auto-launch the app when user signs into Okta." checkbox but login still navigates to /app/UserHome. I've tested in Chrome and Safari and neither redirect to my chosen app.

     

    Any thoughts? @Marius did you find a resolution?

     

    Thanks,

    Colin

    Expand Post
  • gm7w9 (gm7w9)

    Hi,

    I am using a workaround. I am not sure if it will work in all scenarios.

    If you open the application you want to be autolaunched (I am using the actual app, not the bookmark), at the bottom there is an "App Embed Link" field, that looks kinda like this:

    https://myOktaDomain.okta-emea.com/home/oidc_client/someID/someOtherID

    This is not what I do, but I am guessing this would redirect the user correctly after login.

    I am using SAML logins. How I got this to work was to add the "/home/oidc_client/someID/someOtherID" at the end of the IDP login link, that you get from the Identity Providers page in Okta (after configuring this up).

    Hope some of this can help 🙂

    Expand Post
  • ColinB.71033 (Customer)

    Hi Marius,

     

    Thanks for replying so quickly. I got it working using the App Embed link and setting it to the value of the redirecturl variable and forcing it to redirect on a successful response.

     

    var orgUrl   = 'https://ORG.okta.com/';

     var str     = decodeURIComponent(window.location.href);

     var redirectUrl = 'https://ORG.okta.com/home/APP_NAME/CLIENT_ID/AUDIENCE_ID';

     

     var oktaSignIn = new OktaSignIn({baseUrl: orgUrl});

     

     oktaSignIn.renderEl(

       { el: '#okta-login-container' },

       function (res) {

         if (res.status === 'SUCCESS') {

           console.log(res)

           console.log('User %s successfully authenticated %o', res.user.profile.login, res.user);

     

           res.session.setCookieAndRedirect(redirectUrl);

         }

       }

     );

    Expand Post
  • MikeV.18400 (Customer)

    Hi Marius, Colin,

    Can you explain in a bit more detail? I'm running into the same issue and am unfamiliar with they way you got it to work.

    If it's not to much to ask, can you please do a step-by-step setup guide?

    Really love to get this working.

     

    Kind regards,

    Mike

    Expand Post
  • xol5z (xol5z)

    The problem seems to be that the application cannot be assigned when you check this setting. What I have found as a fix for this is:

    • Remove all assignments
    • Uncheck the setting
    • Re-check the setting
    • Reassign the application
    Expand Post
This question is closed.
Loading
Auto Launch app doesnt work