I followed this guide for setting up login pages: https://docs.wso2.com/display/IS500/Customizing+Login+Pages
Everything is fine.
I checked the code from version 4.3.3 and made local changes:
https://github.com/wso2/carbon-identity/tree/release-4.3.3/components/identity/org.wso2.carbon.identity.application.authentication .endpoint
When working with OpenIDConnect / OAuth2, there are more pages than just entering login.jsp, for example, the oauth2_authz.jsp page. It is also not a problem when replacing the default authenticendpoint.war with my changed name authenticationend.war.
However, problems arise when trying to separately place the user authentication point.war under a different URL.
WSO2 Identity Server is configured with an absolute URL in AuthenticationEndpoint:
<AuthenticationEndpointURL>http://localhost:9990/login.do</AuthenticationEndpointURL>
And the form of my login.jsp is modified to send back to the absolute URL for the WSO2 Identity Server instead of the relative ../commonauth URL.
<form action="https://localhost:9443/commonauth"...
The problems that I see is that I am correctly redirected to my user login page, but the authz page (list of claims and buttons for approving | Approve Always | Deny) is still the default page hosted inside WSO2.
I want WSO2 Identity Server to use all my customized pages, not just login.jsp.
Usually it will be
- oauth2_authz.jsp
- oauth2_consent.jsp
- oauth2_error.jsp
- , ?