Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
SuiteSSO Handshake Issue - using Java
Hi all,
I have setup a SSO Connection point using a subtab and assigned that to Inventory Items.
I have deployed the OAuthHandshake servlet (given in sample code - https://system.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteFlex/SuiteSignOn/OutboundSSO_Sample_Java_Servlet_Token_Verification_Code.html#1077978). When an Inventory Item is loaded this Servlet is called. But the InputStream that reads the given url receives only a "Page Not found" response.
InputStream is = verifyConnection.getInputStream();
The code tries to read this (https://system.netsuite.com/app/common/integration/ssoapplistener.nl) URL, but following is the content of the received response. (if I try to access this url through a browser, I receive an Unauthorized [401] message).
0