內容簡介
**總結:**
QROGIN是一個開發者友好的基於QR碼的社交登錄平台,提供FIDO2 Passkey驅動的無密碼驗證,結合企業級安全性與易於整合的順暢身份管理。這個外掛讓開發者可以生成防篡改的QR碼和安全的一鍵鏈接,用於QROGIN用戶登錄/註冊。
**問題與答案:**
1. QROGIN是什麼樣的平台?
- QROGIN是一個開發者友好的基於QR碼的社交登錄平台,提供FIDO2 Passkey驅動的無密碼驗證。
2. 開發者使用這個外掛可以做什麼?
- 開發者可以生成防篡改的QR碼和安全的一鍵鏈接,用於QROGIN用戶登錄/註冊。
3. 外掛的特色有哪些?
- 三種模式:QrWidget,QrWithLink,SecureLinkButton
- 可以自訂顏色、標籤和CSS類別
- 可存取:包括倒數和刷新按鈕
- 事件驅動-連接qrogin-authenticated以進行SPA重定向
- 可在任何頁面/文章或區塊編輯器模式上使用
4. 外掛的 shortcode 需要哪些屬性?
- base_url, status_base, tenant_id, api_key, mode, ttl_ms, poll_interval, class, button_label, button_class, button_style
5. 如何使用外掛捕捉驗證事件?
- 在網頁上加入指令碼,當 qrogin-qr-container 抓取到 qrogin-authenticated 時,可在sessionStorage設置token和user_id,並進行重定向處理。
6. 外掛如何保護隱私?
- 外掛只將您設置的字段-tenant_id(也稱為customer_id)、api_key和相關會話數據-發送到您自己的QROGIN後端。所有流量僅透過HTTPS傳輸到QROGIN擁有的子域(*.qrogin.com)。沒有數據傳輸給外掛作者或任何其他第三方服務。
外掛標籤
開發者團隊
原文外掛簡介
QROGIN is a developer-friendly QR based social login platform delivering FIDO2 passkey-powered passwordless authentication, combining enterprise-grade security with easy integration and seamless identity management.
Using this plugin, developers will be able to generate tamper‑proof (time-limited & one-time use) QR codes and secure one‑click links(button) for QROGIN user-login/signup. The widgets talks to your QROGIN back‑end, displays a countdown, polls for authentication and then fires a JavaScript event so you can finish the flow your way.
Features
Three modes: QrWidget, QrWithLink, SecureLinkButton
Customise colours, labels and CSS classes from the shortcode
Accessible: countdown and refresh button included
Event‑driven – hook into qrogin-authenticated for SPA redirects
Works on any page/post or block editor pattern
Shortcode
[qrogin_qr_widgets]
Attributes:
See the “Attribute Reference” section below for all options.
Attribute Reference
base_url (required) – Endpoint that returns QR payload
status_base (required) – Endpoint polled to read auth status
tenant_id (required) – Your tenant/account ID
api_key (required) – API key issued by QROGIN
mode – QrWidget (default), QrWithLink, or SecureLinkButton
ttl_ms – Time‑to‑live in milliseconds (default: 55000)
poll_interval – Polling gap in milliseconds (default: 5000)
class – Extra classes for the widget wrapper
button_label – Button inner HTML (default: “Secure one‑time link”)
button_class – Extra classes for the button
button_style – Inline CSS for the button
Usage example: catching the authentication event
Add this script to your page (you can adjust the redirect URL):
Privacy
This plugin sends only the fields you configure—tenant_id (also known as customer_id), api_key, and associated session data—to your own QROGIN back‑end. All traffic travels over HTTPS to QROGIN‑owned sub‑domains (*.qrogin.com) only. No data is transmitted to the plugin author or any other third‑party service.
