
內容簡介
總結:透過我們提供的簡碼,您可以在您的WordPress站點中加入內嵌流程、OIDC SSO和Google OneTap。
1. 什麼是Embedded Flow Shortcode?
- 在您希望顯示流程的頁面上添加[descope_wc]簡碼。
- 如果沒有指定Flow Id,將預設為"sign-up-or-in"。
- 若要運行不同的流程,您可以直接在簡碼中傳遞Flow Id。
2. 如何使用OIDC SSO Shortcode?
- 確保在Descope控制台中設置了SSO應用程式,並提供OIDC配置詳細內容。
- 將[descope_oidc_login_form]簡碼添加到主頁面,以添加SSO功能。
3. 如何使用Google One Tap Shortcode?
- 使用[descope_onetap_form]簡碼將Google One Tap添加到您的WordPress頁面。
- 您可以將其添加到希望用戶能夠從中登錄的任何位置,僅在用戶尚未驗證時才會顯示。
- 您需要根據我們的One Tap文檔配置自定義Google提供程序,並將Provider Id傳遞到簡碼中。
4. 什麼是Protected Page Shortcode?
- 在您的頁面上添加[descope_protected_page]簡碼,以將未登錄的用戶重定向到特定頁面。
- 您將在簡碼本身中指定要將用戶重定向到的頁面路徑,例如:[descope_protected_page redirect_page_path="/login-page/"]。
5. 如何使用User Profile Widget Shortcode?
- 將[descope_user_profile_widget]簡碼添加到您的頁面,以向您的WordPress站點添加Descope用戶配置小組件。
- 您可以將其添加到任何希望查看並更新用戶配置的位置,同時通過Descope驗證。
6. 什麼是User Syncing?
- WordPress用戶表是您站點用戶的真實來源。
- 用戶表將每24小時與Descope同步,但您也可以在WordPress控制面板的Descope設置選項卡下手動同步用戶。
外掛標籤
開發者團隊
原文外掛簡介
Descope for WordPress lets you add passwordless login, social login, passkeys, MFA, and SAML/OIDC SSO to your WordPress site using Descope Flows.
Shortcodes:
[descope_wc flow_id="..."] – embed a Descope flow (sign-in / sign-up) on a page.
[descope_saml_login_form] / [descope_oidc_login_form] – SAML or OIDC SSO login.
[descope_onetap_form] – Google One Tap.
[descope_logout_button] – logout button.
[descope_user_profile_widget] – Descope user profile widget.
Full setup guide: https://docs.descope.com/web-development-platforms/setup-guides/wordpress
This plugin connects to the Descope service (https://www.descope.com/) to authenticate users. See the Descope Terms of Service (https://www.descope.com/legal/terms) and Privacy Policy (https://www.descope.com/legal/privacy).
