Last updated: Dec 06, 2021

WordPress OAuth Single Sign-On (SSO) by miniOrange


WordPress Single Sign-On (SSO) Plugin module allows users to login into a WordPress site using their Okta credentials. This enables seamless login between WordPress and Okta thereby eliminating the need to remember passwords for each application. The Single Sign-On (SSO) functionality is achieved using OAuth / OpenID Connect protocol. WordPress acts as an OAuth Client and Okta as an OAuth Provider.

The Single Sign-On Solution

Before OAuth, HTTP was the Basic Authentication standard, where the user is prompted for a username and password for accessing each application. Websites would prompt you to enter your username and password directly into a form and they would log in to your data (e.g. your Gmail account) as you.

Basic Authentication is still used as a primitive form of API authentication for server-side applications wherein instead of sending a username and password to the server with each request, the user sends an API key ID and secret.

Contrary to the above, OAuth allows authentication using access tokens which is more secure as no sharing of passwords is involved.


  • Unlimited SSO Authentications: Users can log in to WordPress using SSO any number of times.
  • Auto-create users / Just In Time user provisioning: During SSO login, if the Okta user doesn’t exist in WordPress, then the user account will be created automatically.
  • Account linking: During SSO login, if the Okta user already exists in WordPress, then the user account will be linked to the same existing account and the user profile will be updated.
  • Attribute mapping: Map the user attributes that you get from Okta to the user profile in WordPress.
  • SSO login widget: Integrate SSO in the WordPress site by placing the SSO login widget wherever you want.
  • Redirect after SSO login: After successful SSO login, users will be redirected to the homepage of your WordPress site.
  • Grant type support: Supports the standard OAuth2 grant which is the most secure of all the grant types: Authorization Code grant.
  • Debug logging: If you run into any issues with the SSO login, debug logs would be helpful.

Contact Us

If you have any questions regarding the WordPress Okta SSO please contact us at [email protected].


Add this integration to enable authentication and provisioning capabilities.



Here is a section all about documentation, integration, and implementation.

  • Documentation:

    WordPress + Okta SSO Guide

    Read it
  • Demo:

    Okta + WordPress SSO using miniOrange OAuth Client

    Read it
  • Webpage:

    Single Sign-on Solution Suite

    Read it
  • Documentation:

    Okta-Wordpress SSO Setup Guide

    Read it
  • Webpage:

    OAuth FAQs

    Read it

Okta Verified
Okta Verified
The integration was either created by Okta or by Okta community users and then tested and verified by Okta.

Languages Supported


Use Case