Configuring Single Sign-On Using OpenID Connect¶
Single sign-on (SSO) is a key feature of the WSO2 Identity Server that enables users to access multiple applications using the same set of credentials.This tutorial allows you to have hands-on experience on how to configure SSO with WSO2 Identity Server using the OpenID Connect protocol.
To read more about single sign on with WSO2 Identity Server, see Single Sign On.
Pickup is a cab company that has two SAML web applications called pickup-dispatch and pickup-manager. Both applications use WSO2 IS as the identity provider. When SSO is configured for both these applications, a user is only required to provide their credentials to the first application and the user will be automatically logged in to the second application.
- Download WSO2 Identity Server.
<IS_HOME>/binand start the server by executing one of the following commands.
Follow the steps in deploying pickup-dispatch webapp to download, deploy and register dispatch sample.
- Follow the steps in deploying pickup-manager webapp to download, deploy and register manager sample.
You are now ready to try out OpenID Connect SSO with the Pickup Dispatch and Pickup Manager sample web applications.
Try it out¶
Navigate to http://localhost.com:8080/pickup-dispatch on your browser and click Login.
You will be redirected to the login page of WSO2 Identity Server. Log in using your WSO2 Identity Server credentials (admin/admin). Provide the required consent. You will be redirected to the Pickup Dispatch application home page.
Now, if you navigate to http://localhost.com:8080/pickup-manager and click Login, you can see that user has been automatically logged in to this application without being prompted for user credentials.
You have successfully configured OpenID Connect Single Sign-On for two web applications using WSO2 Identity Server as the identity provider.Top