Title: Login With
Author: STASEO
Published: <strong>4 maj 2025</strong>
Last modified: 24 augusti 2026

---

Sök tillägg

![](https://ps.w.org/login-with/assets/banner-772x250.png?rev=3287438)

![](https://ps.w.org/login-with/assets/icon-256x256.png?rev=3287438)

# Login With

 Av [STASEO](https://profiles.wordpress.org/staseo/)

[Ladda ner](https://downloads.wordpress.org/plugin/login-with.1.5.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/login-with/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/login-with/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/login-with/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/login-with/#developers)

 [Support](https://wordpress.org/support/plugin/login-with/)

## Beskrivning

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](https://policies.google.com/terms)–
[Google’s Privacy Policy](https://policies.google.com/privacy)

#### 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)

## Installation

 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:
 4.  * Client ID
     * Client Secret
 5. Add the Redirect URI to your Google Cloud Console:
 6.  * Go to Google Cloud Console > Credentials
     * Edit your OAuth 2.0 Client ID
     * Add the Redirect URI shown in the plugin settings
 7. Save the settings

#### Getting Google API Credentials

 1.  Go to the [Google Cloud Console](https://console.cloud.google.com/)
 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

## Vanliga frågor

### 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.

## Recensioner

![](https://secure.gravatar.com/avatar/7d0c9347e4e5e71602ffe2ab12aa6d2502776db50a959670c7d6124ceded7e3c?
s=60&d=retro&r=g)

### 󠀁[Do not download](https://wordpress.org/support/topic/do-not-download-27/)󠁿

 [littleplugins](https://profiles.wordpress.org/littleplugins/) 27 april 2026 1 
svar

Plugin downloaded 7000 duplicate images to my site. Author is either a moron or 
a hacker.

 [ Läs 1 betyg ](https://wordpress.org/support/plugin/login-with/reviews/)

## Bidragsgivare och utvecklare

”Login With” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

 *   [ STASEO ](https://profiles.wordpress.org/staseo/)

[Översätt ”Login With” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/login-with)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/login-with/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/login-with/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/login-with/) via [RSS](https://plugins.trac.wordpress.org/log/login-with/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.5

 * Hardened popup-to-parent communication after Google login
 * Administrators and Shop Managers no longer sign in with Google by default
 * New Google accounts are created only when WooCommerce customer registration is
   enabled
 * Improved compatibility with login and two-factor plugins
 * Safer cleanup of leftover media library entries from older versions

#### 1.4

 * Hardened Google login session handling
 * Tightened OAuth return handling
 * Client Secret field is now masked on the settings page
 * Improved OAuth state handling
 * Added a developer filter to control which users may use Google login
 * Login button works correctly with page caching plugins
 * Added timeouts on Google API requests
 * Compatible with WordPress installed in a subdirectory

#### 1.3

 * Removed buggy media library registration that could create duplicate attachments
 * Added automatic cleanup of those leftover attachments on plugin update
 * Additional validation of Google account data
 * Safer handling of missing name fields in the Google response
 * Removed unused code

#### 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 if the parent window cannot be updated directly
 * 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

 *  Version **1.5**
 *  Senast uppdaterat **2 veckor sedan**
 *  Aktiva installationer **30+**
 *  WordPress-version ** 5.0 eller senare **
 *  Testat upp till **7.1**
 *  PHP-version ** 7.2 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/login-with/)
 * Etiketter
 * [authentication](https://sv.wordpress.org/plugins/tags/authentication/)[google](https://sv.wordpress.org/plugins/tags/google/)
   [login](https://sv.wordpress.org/plugins/tags/login/)[social login](https://sv.wordpress.org/plugins/tags/social-login/)
   [woocommerce](https://sv.wordpress.org/plugins/tags/woocommerce/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/login-with/advanced/)

## Betyg

 1 av 5 stjärnor.

 *  [  0 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/login-with/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/login-with/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/login-with/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/login-with/reviews/?filter=2)
 *  [  1 1-stjärnig recension     ](https://wordpress.org/support/plugin/login-with/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/login-with/reviews/#new-post)

[Visa alla recensioner](https://wordpress.org/support/plugin/login-with/reviews/)

## Bidragande personer

 *   [ STASEO ](https://profiles.wordpress.org/staseo/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/login-with/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](https://www.paypal.com/donate/?hosted_button_id=PFRGSWG8VVP4J)