Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 3.3 KB

README.md

File metadata and controls

58 lines (31 loc) · 3.3 KB

WordPress blue logo by Descope

WordPress Plugin for Descope Authentication

License: MIT

Getting Started

Requirements

Installation

Installation is very straight-forward.

Zip up this entire repo and then import it into WordPress on your WordPress Dashboard. You can follow the instructions here.

Activation

After installation, you must activate the plugin within your WordPress site:

  1. Open your WordPress Dashboard.
  2. Select Plugins from the sidebar, and then Installed Plugins.
  3. Choose Activate underneath the plugin's name.

Configuring Descope

Once you have installed and activated your plugin, you must go to the new Descope Settings menu in the left-hand sidebar and input the following:

  1. Project ID - this is your Descope Project ID you can get from the settings page here.

If you would like to set up SAML or OIDC SSO, you must also input the fields under the SSO Configuration Tab.

Now that you've set everything up in the background, let's integrate the plugin features in your actual website. To add any of these tags, you'll need to use shortcode blocks. If you're unfamiliar with WordPress, you can add a shortcode block by following these steps here.

Add Descope Flows to your WP Pages

First, you're going to want to add the Descope flows tag to one of your pages (this will be where the user signs in). To add the Descope flow page to your website, just add a shortcode block to the main text area of any page, and add the shortcode [descope_wc flow_id="your-flow-id"].

The flow_id is the id of the Descope flow that you want to implement in your page. You can edit your flows here, as well as fetch its ID.

SAML/OIDC SSO

Add the [saml_login_form] or [oidc_login_form] shortcode to your main page to add SSO capabilities. Follow the steps here.

Google One Tap

Add the [onetap_form] shortcode to your page to add Google One Tap to your WordPress site. Follow the steps here.

Documentation

Refer to our documentation for more information on setting up Descope flows, SAML/OIDC SSO, and Google One Tap in your Wordpress site.


If you have any questions about Descope, feel free to reach out!