Step By Step Guide For WordPress Single Sign On (SSO) using IdentityServer4



If you want users to login to your WordPress site using their IdentityServer4 credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the IdentityServer4 with WordPress plugin, you can allow users to SSO to your WordPress site using IdentityServer4. Similarly, you can map your WordPress roles based on your IdentityServer4 attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.



You can download OAuth Client plugin using the following link.



Guide to configure IdentityServer4 with WordPress :

  • Set up IdentityServer4 using guidelines provided here.
  • From Configure OAuth tab in Oauth Client plugin, collect Redirect/Callback URL and enter it into your IdentityServer4.
  • Copy your Client ID and Client Secret and save it on your miniOrange OAuth Client plugin Configuration.
  • You have successfully completed your IdentityServer4 OAuth Server side configurations.
  • In Plugin, Add Custom Application.
  • Enter your app name and use the following information to fill the details.

  • Client ID : from the step 3 above
    Client Secret : from the step 3 above
    Scope : openid
    Authorize Endpoint : https://[your-domain]/connect/authorize
    Access Token Endpoint : https://[your-domain]/connect/token
    Get User Info Endpoint : https://[your-domain]/connect/userinfo

Free Trial

If you are facing any difficulty please mail us on info@xecurify.com.