Configuring a custom form login page for OAuth

You can configure custom form login pages for specific OAuth service providers.

About this task

To use a custom form login page for a specific OAuth service provider, you must update the service provider definition in the server.xml file.

Procedure

In the provider configuration, add the customLoginURL attribute and specify the login page URL as the value.

The following is an example custom login page entry in the provider definition:

<oauthProvider id="OAuthConfigSample"
  customLoginURL="https://acme.com:9043/oath20/login.jsp">

The login form that is used for OAuth must be configured to accept a user name and password.