Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to embed login (username and password fields) on another website

steve.westAug 4 2010 — edited Aug 5 2010
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2010
Added on Aug 4 2010
12 comments
1,311 views