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

Login With

  • 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

Login With

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

Mô tả

Login With – Google Login for WooCommerce, is a simple and secure plugin that adds Google authentication to your WooCommerce store. It allows customers to log in using their Google accounts, providing a quick and familiar login experience that leads to better conversion rates and more sales. With just one click, customers can login with Google — no passwords, no forms, no friction. Faster checkouts mean fewer abandoned carts and more completed purchases. Simple to set up, trusted by users, and built to help your store grow.

External Services

This plugin uses Google OAuth 2.0 for authentication. When a user clicks the “Login with Google” button, the following data is sent to Google’s servers:

  1. Client ID and Client Secret (configured in plugin settings)
  2. User’s email address and basic profile information (name)
  3. Authentication state token for security

This data is used to:
– Verify the user’s Google account
– Retrieve basic profile information
– Create or update the user’s account in your WooCommerce store

The plugin connects to these Google services:
– https://oauth2.googleapis.com/token (for authentication)
– https://www.googleapis.com/oauth2/v2/userinfo (for user profile data)

For more information about Google’s data handling, please review:
– Google’s Terms of Service
– Google’s Privacy Policy

Features

  • Conversion rate and sales booster
  • Adds a “Login with Google” button to WooCommerce login forms
  • Works on both the account page and checkout
  • Secure OAuth 2.0 authentication
  • Automatic user account creation for new Google users
  • Syncs user’s name and email from Google profile
  • Customizable button appearance
  • Mobile-friendly design

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 3.0 or higher
  • PHP 7.2 or higher
  • Google API credentials (Client ID and Client Secret)

Cài đặt

  1. Go to Plugins > Add New Plugin > Upload Plugin > Select the zip folder / Upload / Install / Activate
  2. Go to Settings > Login With
  3. Enter your Google API credentials:
    • Client ID
    • Client Secret
  4. Add the Redirect URI to your Google Cloud Console:
    • Go to Google Cloud Console > Credentials
    • Edit your OAuth 2.0 Client ID
    • Add the Redirect URI shown in the plugin settings
  5. Save the settings

Getting Google API Credentials

  1. Go to the Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the Google+ API
  4. Go to Credentials
  5. Create an OAuth 2.0 Client ID
  6. Set the application type to “Web application”
  7. Add your website’s domain to authorized JavaScript origins
  8. Add the Redirect URI from the plugin settings
  9. Copy the Client ID and Client Secret to the plugin settings

Hỏi đáp

Where can I get Google API credentials?

You can get them from the Google Cloud Console. See the “Getting Google API Credentials” section in the installation instructions.

Can I customize the login button?

Yes, you can customize the button’s appearance by modifying the CSS in the plugin’s style.css file.

Does this work with WooCommerce checkout?

Yes, the Google login button appears on both the account page and during checkout.

Đánh giá

Do not download

littleplugins 27 Tháng 4, 2026 1 trả lời
Plugin downloaded 7000 duplicate images to my site. Author is either a moron or a hacker.
Đọc tất cả 1 đánh giá

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

“Login With” 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
  • STASEO

Dịch “Login With” 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

  • SECURITY: Fixed Login CSRF / Login Fixation – the previous WordPress nonce-based state was identical for all anonymous users, allowing an attacker to log a victim into the attacker’s account. State is now bound to a per-browser cookie.
  • SECURITY: OAuth callback handler now only runs on the dedicated redirect URI path; previously a crafted ?code=…&state=… URL on any page would trigger the flow.
  • SECURITY: Client Secret field on the settings page is now a password input (was plaintext) and disables autocomplete.
  • SECURITY: OAuth state is now cryptographically random (random_bytes), single-use, and short-lived (10 minutes).
  • Added staseo_login_with_allow_user filter so site owners can block specific accounts (e.g. admins) from logging in via Google.
  • Cache-friendly: state is generated server-side on click, so the login button works correctly with page caching plugins.
  • Added explicit timeouts on Google API requests.
  • Now compatible with WordPress in a subdirectory.

1.3

  • CRITICAL FIX: Removed buggy media library registration that could create thousands of duplicate “Google Login Button” attachments on every page load
  • Added automatic cleanup of duplicate attachments on plugin update (runs once when an admin visits wp-admin)
  • Security: Require Google’s verified_email flag to prevent login via unverified Google accounts
  • Hardening: Safer handling of missing given_name / family_name in Google response
  • Removed unused dead code (AJAX nonce verifier, PNG-as-script registration)

1.2

  • Fixed popup login flow – popup now closes automatically after successful Google login
  • Parent window now properly refreshes and shows user logged in
  • Added fallback mechanisms for cross-origin scenarios
  • Improved user experience with login success feedback

1.1

  • Updated compatibility info

1.0

  • Initial release
  • Added Google login functionality
  • Added settings page
  • Added automatic user creation
  • Added mobile-friendly design

Meta

  • Phiên bản 1.4
  • Cập nhật lần cuối 3 tuần trước
  • Số lượt cài đặt 20+
  • Phiên bản WordPress 5.0 hoặc cao hơn
  • Đã kiểm tra lên đến 6.9.4
  • Phiên bản PHP 7.2 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    authenticationgoogleloginsocial loginwoocommerce
  • Nâng cao

Đánh giá

1 trên 5 sao.
  • 0 5-star reviews 5 sao 0
  • 0 4-star reviews 4 sao 0
  • 0 3-star reviews 3 sao 0
  • 0 2-star reviews 2 sao 0
  • 1 1-star review 1 sao 1

Your review

Xem tất cả đánh giá

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

  • STASEO

Hỗ trợ

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

Xem diễn đàn hỗ trợ

Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

Ủng hộ plugin này

  • 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 ↗
  • Năm cho Tương lai
  • 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.