
gm7w9 (gm7w9) asked a question.

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All
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
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 🙂
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);
}
}
);
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
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: