NetSuite redirect directs to wrong NetSuite instance? Skip to main content
https://support.okta.com/help/answers?id=906f0000000xzfmia4&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Evan TrimbleEvan Trimble 

NetSuite redirect directs to wrong NetSuite instance?

Hello,

We have multiple instances of NetSuite configured as applications in Okta. I'm trying to set things up so that if a user clicks on a NetSuite link, if they don't have an active NetSuite session, they are directed to Okta to authenticate.

In NetSuite SAML setup, the setting for turning this on is "Primary Authentication Method".

In testing, when I click on a URL like this:

https://system.netsuite.com/app/crm/support/issuedb/issue.nl?id=14979835&compid=<AccountID>&e=T

Okta tries to log me in to our NetSuite DEV instance, which is incorrect: this URL is for production ("system.netsuite.com" instead of "system.sandbox.netsuite.com").  

NetSuite account IDs are shared across sandbox and production (i.e. the first sandbox environment attached to an account has the same account ID as the prod environment) so that could be why this is happening, but the redirect should recognize that the originating URL is for production.

Anyone set this up successfully?

Thanks,
Evan
Darron HellmannDarron Hellmann (Okta)
Hey Evan

It sounds like you're looking to utilize deep-linking to send NetSuite URLs through email but you're being redirected to your DEV instance of NetSuite. Have you checked the "Instance Type" in the General tab of the app in question? The instance type redirects you between production and sandbox environments. If that doesn't take care of it for you, we'd be happy to open up a support incident and troubleshoot further.
Evan TrimbleEvan Trimble
Hi Darron,

Thanks for the reply. The instance type is correct. I've got a support case open.

Thank you,
Evan