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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
SSO PHP Class with Debug Support
After some headache getting Single Sign-on (SSO) to work, I developed a class to wrap up the functionality and to add much needed debugging support.
Thought I would dump it here in hopes it may help others avoid the headache I had. Give a shout if there is anything I missed or any ways to improve on the base.
sso.php: I call this if I don't currently have an active session for the customer. I then store relevant details in a session and process subsequent calls without using this file. The last line is just a dump of the customer data which is where I would normally save the session
Thought I would dump it here in hopes it may help others avoid the headache I had. Give a shout if there is anything I missed or any ways to improve on the base.
sso.php: I call this if I don't currently have an active session for the customer. I then store relevant details in a session and process subsequent calls without using this file. The last line is just a dump of the customer data which is where I would normally save the session
0