Hello
I am integrating pages from an external server into Netsuite. I don't want the user to have to enter their details again - if they have authenticated against Netsuite then I am happy to give them access to the external server under a pre-agreed username they are unaware of.
Users may view information on the external server in an IFRAME supplied by a suitelet and I want this information to be shown without entering user details again.
I know only inward bound single sign on is currently supported so I am contemplating rolling my own outward bound single sign on...
1) User logs onto Netsuite and navigates to an appropriate suitelet
2) Suitelet on the server side uses a web service call to the external https server, passing a pre agreed username and password (these are passed encrytped as the webserver is using HTTPS). This communication is from the netsuite server rather than the clients browser so this is hidden from the user.
3) The external server is using DIGEST authentication which means the authorisation is passed back and forth through headers rather than cookies.
4) The suitlet then passes the authenticated headers into the IFRAME so when the browser renders it, it uses the authentication information already returned from the external web server.
5) The username and password don't go anywhere near the browser. Potentially the headers could be stored against the user table to avoid repetitive calls from the netsuite server.
So my questions are - is this possible and is it secure?
Thanks in advance
Patrick