Description
Drag and drop embedded Authentication Flows, Single-Sign-On (SSO), Google OneTap, Protected Pages, and more to your WordPress site.
Requirements
A Descope account. You can sign up for free here.
Add Embedded 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 to your page, just add a shortcode block to the main text area of any page, and add the shortcode [descope_wc flow_id="your-flow-id"]
.
OIDC SSO Shortcode
Add the [descope_oidc_login_form]
shortcode to your main page to add SSO capabilities. Follow the steps here.
Google One Tap Shortcode
Add the [descope_onetap_form]
shortcode to your page to add Google One Tap to your WordPress site. Follow the steps here.
Protected Page Shortcode
Add the [descope_protected_page]
shortcode to your page to redirect users to a specific page if they are not logged in. You will specify the page path you want to redirect the users to in the shortcode itself, for example: [descope_protected_page redirect_page_path=”/login-page/”].
User Profile Widget Shortcode
Add the [descope_user_profile_widget]
shortcode to your page to add the Descope user profile widget to your WordPress site. You can add this anywhere you want to be able to view your user profile, while authenticated with Descope.
User Syncing
The WordPress user table is the source of truth for your site’s users. The user table is synced with Descope every 24 hours, but you can also manually sync users under “Sync Users” in the Descope Settings tab of your WordPress dashboard.
Documentation
Refer to our documentation for more information on setting up Descope flows, SSO, and Google One Tap in your WordPress site.
Installation
After installation, you must activate the plugin within your WordPress site:
– Open your WordPress Dashboard.
– Select Plugins from the sidebar, and then Installed Plugins.
– 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 your Descope configuration details.
Reviews
Contributors & Developers
“Descope” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Descope” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.