How to embed login (username and password fields) on another website
Hi,
I have written an Apex 3.0.2 helpdesk application that requires authentication. I want to have users be able to log in from a different website, a corporate Home Page that includes the username & password fields and the login button for my Apex application. What I have done is extracted the relevant part of the HTML from the login page of my application using View Source in my browser, made a couple of minor formatting changes, and inserted this code into the home page HTML of the other website (its on a completely different domain). The HTML code I extracted was the FORM that includes the username,password and submit button, and I had to change the Form Action to include the fully qualified Apex server URL.
This works inconsistently, and I don't know why. Sometimes it logs in fine, other times I get the dreaded "ERR-7621 Could not determine workspace for application (:) on application accept. Expecting p_company or wwv_flow_company cookie to contain security group id of application owner". I have searched and googled trying to find a way to do this correctly, I am sure there is a better way than the method I have implemented. Anyone got any ideas?
Thanks,
Steve