I'm trying to build an app with custom authentication, ultimately protected using OHS/Webgate/OAM. For now, I'm starting with the basics to gain an understanding of custom authentication itself. The App Builder Users Guide Custom Authentication section reads “fill in the appropriate fields”. Great. Got it. So…
- I created a database package named apex_auth owned by my parsing schema. The package has one function: known_user(p_username IN VARCHAR2, p_password IN VARCHAR2). The function does one thing: return(true).
- I created an app named Custom Auth with one blank Home page.
- I created a new authentication scheme of type Custom with "Authentication Function Name" value set to apex_auth.known_user.
- The act of creating the Custom Authentication scheme generated a new page named Login Page with username password and Sign In button. Um, okay. But why?
- My Application Definition User Interface Home URL is set to the Home page. The Login URL is blank.
- I navigate to https://<apex server>/custom-auth/home. I expect the custom authentication scheme to return(true) and expect to see the blank Home page.
What I actually see is the Login page that was generated when I created the custom authentication scheme. Why? What aspect of my configuration is redirecting me to https://<apex server>/custom-auth/login? If I click the Sign In button I appear to be authenticated and my Home page is displayed. How do I bypass that Login screen?