Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

WebPlatform Social Login

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

WebPlatform Social Login

Bởi WebPlatform
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

WebPlatform Social Login adds secure social sign-in buttons to WordPress.

Features:

  • Verifies Google ID token signatures using Google’s published public keys.
  • Supports Facebook OAuth, LinkedIn OpenID Connect and Microsoft OpenID Connect.
  • Supports Sign in with Apple, including dynamic ES256 client assertions.
  • Validates token audience, issuer, expiry, email verification and nonce.
  • Protects login requests with short-lived, HttpOnly state cookies.
  • Encrypts provider secrets and Apple private keys at rest using WordPress authentication salts.
  • Connects existing users by verified email.
  • Optionally creates new WordPress users.
  • Displays on WooCommerce login and registration forms.
  • Displays on standard WordPress login and registration forms.
  • Optionally offers Google One Tap to logged-out visitors using the Google account active in their browser.
  • Includes [webplatform_social_login] for custom pages.
  • Supports local post-login redirects and optional email-domain restrictions.
  • Integrates with WordPress personal-data export and erasure tools.

No Google Client Secret is stored or required. Other providers require their standard application credentials.

External services

This plugin connects to external identity services only when the site owner enables them. When Google One Tap is enabled, Google Identity Services may be loaded for logged-out visitors before they choose to sign in.

  • The browser downloads the Google Identity Services library from https://accounts.google.com/gsi/client when a login button is displayed. The site’s OAuth Client ID and standard browser request information are sent to Google.
  • After the visitor chooses a Google account, Google returns a signed identity token to the website. The token contains the account identifier and basic profile fields approved by the visitor.
  • The server periodically downloads public signing keys from https://www.googleapis.com/oauth2/v3/certs to verify tokens. No visitor identity data is sent when public keys are downloaded.

This service is provided by Google under the Google APIs Terms of Service and Google Privacy Policy.

For enabled OAuth providers, the visitor is sent to the provider’s authorization page. The plugin sends the application Client ID, callback URL, requested basic-profile/email scopes, and a random state value. The provider sends an authorization code back to the website. The server exchanges that code and requests the visitor’s identifier, name, verified email and optional profile image.

  • Facebook endpoints use facebook.com and graph.facebook.com. Meta Platform Terms and Meta Privacy Policy.
  • LinkedIn endpoints use linkedin.com and api.linkedin.com. LinkedIn API Terms and LinkedIn Privacy Policy.
  • Microsoft endpoints use login.microsoftonline.com and graph.microsoft.com. Microsoft APIs Terms and Microsoft Privacy Statement.
  • Apple endpoints use appleid.apple.com. The plugin also downloads Apple’s public signing keys to validate ID tokens. Sign in with Apple terms and Apple Privacy Policy.

Privacy

When a visitor uses a social provider, that provider returns an account identifier and basic profile fields such as name, verified email address and profile image. The plugin stores the provider account identifier and profile image URL in WordPress user metadata. WordPress core stores the user’s name and email as part of the user account.

The browser loads Google’s Identity Services JavaScript from accounts.google.com when Google login is configured. Other providers are contacted only when their button is selected. Site owners should disclose enabled external services in their privacy policy and obtain any consent required in their jurisdiction.

Plugin metadata is available through WordPress personal-data export and erasure tools.

Cài đặt

  1. Upload the webplatform-social-login folder to /wp-content/plugins/.
  2. Activate WebPlatform Social Login.
  3. In Google Cloud, create an OAuth 2.0 Client ID of type Web application.
  4. Add your HTTPS website origin under Authorized JavaScript origins.
  5. Open Settings > WebPlatform Social Login and enter the Client ID.
  6. Add [webplatform_social_login] to any custom login page, or enable WooCommerce placement.

For another provider, create its web application, copy the exact callback URL displayed in the plugin settings, enter the credentials, and enable the provider.

The settings screen includes step-by-step examples for every provider, including the current site’s exact origin, domain, callback URLs, required products and requested scopes.

Hỏi đáp

Is a Google Client Secret required?

No. This plugin uses the Google Identity Services ID-token flow and validates signed tokens on the server.

Does the plugin create users automatically?

Only when account creation is enabled in the plugin and the provider email is verified.

Can login be limited to an organization?

Yes. Enter one or more comma-separated email domains in the settings.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“WebPlatform Social Login” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • WebPlatform

Dịch “WebPlatform Social Login” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.4.4

  • Renamed the plugin to WebPlatform Social Login.
  • Restricted social-login account creation to the low-privilege Customer or Subscriber role.

1.4.3

  • Added explicit external-script versioning and documented the required provider-identity lookup.

1.4.2

  • Resolved WordPress Plugin Check internationalization, sanitization and compatibility findings.

1.4.1

  • Prevented duplicate Google buttons and repeated front-end configuration.

1.4.0

  • Added optional Google One Tap sign-in and registration prompts for logged-out visitors.
  • Preserved explicit Facebook, LinkedIn, Microsoft and Apple authorization buttons.

1.3.0

  • Added standard WordPress login and registration placement.
  • Suppressed duplicate output from the obsolete WordPress Social Login plugin.
  • Added migration guidance when the replaced plugin remains active.

1.2.0

  • Added site-specific configuration examples for every provider.
  • Added provider console links, required products, scopes, domains and callback instructions.

1.1.0

  • Added Facebook OAuth login.
  • Added LinkedIn OpenID Connect login.
  • Added Microsoft OpenID Connect login.
  • Added Sign in with Apple.
  • Added encrypted credential storage and provider-specific callback settings.

1.0.0

  • Initial release.

Meta

  • Phiên bản 1.4.4
  • Cập nhật lần cuối 4 tuần trước
  • Số lượt cài đặt Ít hơn 10
  • Phiên bản WordPress 6.5 hoặc cao hơn
  • Đã kiểm tra lên đến 7.0.4
  • Phiên bản PHP 8.0 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    Facebook loginGoogle Loginlinkedin loginsocial loginwoocommerce login
  • Nâng cao

Đánh giá

Chưa có đánh giá nào được gửi.

Your review

Xem tất cả đánh giá

Những người đóng góp

  • WebPlatform

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.
The WordPress® trademark is the intellectual property of the WordPress Foundation.