Enable Login for a Custom Web Application

WSO2 Identity Server provides a way to decouple authentication functionality from the standard authentication protocols such as OAuth 2.0, OpenID Connect, SAML 2.0 and WS-Federation, etc.

With this approach, the logic for processing an inbound authentication request will be written as an OSGi component (pluggable Java artifacts) called an inbound authenticator. To integrate an application which is not written based on a standard protocol, you can write a custom inbound authenticator and plug it to WSO2 Identity Server.

Deploy the inbound authenticator

Copy the custom inbound authenticator to the <IS_HOME>/repository/components/dropins directory and restart the server.

Create a service provider

You need to register your application as a service provider in WSO2 Identity Server.

  1. Log in to the WSO2 Identity Server Management Console (https://<IS_HOST>:<PORT>/carbon) using administrator credentials (admin:admin).

  2. Navigate to Main > Identity > Service Providers > Add.

  3. Enter a Service Provider Name. Optionally, enter a Description.

  4. Click Register.

  5. Expand Inbound Authentication Configuration and select the relevant configurations according to the custom inbound authenticator you deployed.