Title: Login for Google Apps
Author: Syed Balkhi
Published: <strong>26. november, 2013</strong>
Last modified: 8. mai, 2025

---

Søk i utvidelser

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

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

# Login for Google Apps

 Av [Syed Balkhi](https://profiles.wordpress.org/smub/)

[Last ned](https://downloads.wordpress.org/plugin/google-apps-login.3.5.2.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/google-apps-login/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/google-apps-login/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/google-apps-login/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/google-apps-login/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/google-apps-login/)

## Beskrivelse

Login for Google Apps allows existing WordPress user accounts to log in to your 
website using Google to securely authenticate their account. This means that if 
they are already logged into Gmail – they can simply click their way through the
WordPress login screen – no username or password is explicitly required!

Login for Google Apps uses **secure oAuth2 authentication recommended by Google**,
including 2-factor authentication (2FA) if enabled for your Google Workspace (formerly
known as Google Apps and G Suite) accounts.

This is far simpler to configure than the older SAML protocol.

Login for Google Apps is trusted by thousands of organizations from schools to large
public companies. Login for Google Apps for WordPress is the most popular enterprise
grade plugin enabling login and user management based on your Google Workspace domain.

Its plugin setup requires you to have admin access to any Google Workspace domain,
or a regular Gmail account, to register and obtain two simple codes from Google.

#### Support and Premium features

Full support and premium features are also available for purchase:

Eliminate the need for Google Workspace (previously called «Google Apps and G Suite»)
domain admins to separately manage WordPress user accounts, and get peace of mind
that only authorized employees have access to your organization’s websites and intranet.

**See [our website at wp-glogin.com](https://wp-glogin.com/glogin/?utm_source=Login%20Readme%20Top&utm_medium=freemium&utm_campaign=Freemium)
for more details.**

The Premium version allows everyone in your Google Workspace (Google Apps / G Suite)
domain to log in to WordPress – an account will be automatically created in WordPress
if one doesn’t already exist.

Our Enterprise version goes further, allowing you to specify granular access and
role controls based on Google Group or Organizational Unit membership.

You can also see logs of accounts created and roles changed by the plugin.

#### Extensible Platform

Login for Google Apps allows you to centralize your site’s Google functionality 
and build your own extensions, or use third-party extensions, which require no configuration
themselves and share the same user authentication and permissions that users already
allowed for Login for Google Apps itself.

Using our platform, your website appears to Google accounts as one unified ‘web 
application’, making it more secure and easier to manage.

[Google Drive Embedder](https://wp-glogin.com/wpgoogledriveembedder) is an extension
plugin allowing
 users to browse for Google Drive documents to embed directly in
their posts or pages.

[Google Apps Directory](https://wp-glogin.com/wpgoogleappsdirectory) is an extension
plugin allowing
 logged-in users to search your Google Apps employee directory from
a widget on your intranet or client site.

[Google Profile Avatars](https://wp-glogin.com/avatars/?utm_source=Login%20Readme%20Avatars&utm_medium=freemium&utm_campaign=Freemium)

is available on our website. It displays users’ Google profile photos in place of
their avatars throughout your site.

Login for Google Apps works on single or multisite WordPress websites or private
intranets.

#### Requirements

One-click login will work for the following domains and user accounts:

 * Google Workspace Starter
 * Google Workspace Business Standard
 * Google Workspace Business Plus
 * Google Workspace Enterprise
 * Google Workspace for Nonprofits
 * Google Workspace for Government
 * Google Classroom (Google Workspace for Education)
 * Personal gmail.com and googlemail.com emails

Login for Google Apps uses the latest secure OAuth2 authentication recommended by
Google. Other 3rd party authentication plugins may allow you to use your Google 
username and password to login, but they do not do this securely unless they also
use OAuth2. This is discussed further in the [FAQ](https://wordpress.org/plugins/google-apps-login/#faq).

#### Translations

This plugin currently operates in multiple languages.

We welcome volunteers to translate into their own language. If you would like to
contribute a translation, please open the WordPress.org [Translation portal](https://translate.wordpress.org/projects/wp-plugins/google-apps-login/).

#### Website and Upgrades

Please see our website [https://wp-glogin.com/](https://wp-glogin.com/?utm_source=Login%20Readme%20Website&utm_medium=freemium&utm_campaign=Freemium)
for more information about this free plugin and extra features available in our 
Premium and Enterprise upgrades, plus support details, other plugins, and useful
guides for admins of WordPress sites and Google Apps.

The [Premium and Enterprise versions](https://wp-glogin.com/glogin/?utm_source=Login%20Readme%20PremEnt&utm_medium=freemium&utm_campaign=Freemium)
eliminate the need to manage user accounts in your WordPress site – everything is
synced from Google Apps instead.

If you are building your organization’s intranet on WordPress, try out our [All-In-One Intranet plugin](https://wp-glogin.com/intranet/?utm_source=Login%20Readme%20AIOI&utm_medium=freemium&utm_campaign=Freemium).

## Skjermbilder

 * [[
 * User will get different styles options for login with Google button
 * [[
 * User login screen can work as normal or via Google’s authentication system
 * [[
 * Login to Google account – only if not already logged in to Google within the 
   browser
 * [[
 * Admin obtains two simple codes from Google to set up – easy instructions to follow

## Installasjon

To set up the plugin, you will need access to a Google Workspace (previously known
as Google Apps or G Suite) domain as an administrator, or just a regular Gmail account.

Easiest way:

 1. Go to your WordPress admin control panel’s plugin page
 2. Search for «Login for Google Apps» or «Google Apps Login»
 3. Click Install
 4. Click Activate on the plugin
 5. Go to ‘Login for Google Apps’ under Settings in your WordPress admin area
 6. Follow the instructions on that page to obtain two codes from Google, and also 
    submit two URLs back to Google

If you cannot install from the WordPress plugins directory for any reason, and need
to install from ZIP file:

 1. Upload `google-apps-login` directory and contents to the `/wp-content/plugins/`
    directory, or upload the ZIP file directly in the Plugins section of your WordPress
    admin
 2. Follow the instructions from step 4 above

Personalized instructions to configure the plugin by registering your site with 
Google Apps are linked from the WordPress admin panel once you have activated the
plugin.
 For a (non-personalized) preview of these instructions please [click here](https://wp-glogin.com/installing-google-apps-login/basic-setup/).

## Ofte stilte spørsmål

### How can I obtain support for this product?

Full support is available if you purchase the appropriate license from the author
via: [https://wp-glogin.com/glogin/](https://wp-glogin.com/glogin/?utm_source=Login%20Readme%20Premium&utm_medium=freemium&utm_campaign=Freemium)

Please feel free to email contact us on https://wp-glogin.com/ with any questions,
as we may be able to help, but you may be required to purchase a support license
if the problem is specific to your installation or requirements.

### Is login restricted to the Google Workspace domain I use to set up the plugin?

No, once you set up the plugin, any WordPress accounts whose email address corresponds
to _any_ Google account, whether on a different Google Workspace domain or even 
a personal gmail.com account, will be able to use ‘Login with Google’ to easily 
connect to your WordPress site.

However, our [premium plugin](https://wp-glogin.com/glogin/?utm_source=Login%20Readme%20FAQ&utm_medium=freemium&utm_campaign=Freemium)
has features that greatly simplify your WordPress user management if your WordPress
users are mostly on the same Google Workspace domain(s).

### Does the plugin work with HTTP or HTTPS login pages?

The plugin will work whether your site is configured for HTTP or HTTPS.

However, you may have configured your site to run so that the login pages can be
accessed by _either_ HTTP _or_ HTTPS. In that case, you may run into problems.

We recommend that you set [FORCE_SSL_ADMIN](https://codex.wordpress.org/Administration_Over_SSL)

to true. This will ensure that all users are consistently using HTTPS for login.

You may then need to ensure the Redirect URL and Web Origin in the Google Cloud 
Console are set as HTTPS (this will make sense if you follow the installation instructions
again).

If for some reason you cannot set FORCE_SSL_ADMIN, then instead you can add two 
URLs to the Google Cloud Console for each entry, e.g. Redirect URL = https://example.
com/wp-login.php, and then add another one for https://example.com/wp-login.php.
Same idea for Web Origin.

### Does the plugin work on Multisite?

It is written, tested, and secure for multisite WordPress, both for subdirectories
and subdomains, and _must_ be activated network-wide for security reasons.

There are many different possible configurations of multisite WordPress, however,
so you must test carefully if you have any other plugins or special setup.

In a multisite setup, you will see an extra option in Settings -> Login for Google
Apps, named ‘Use sub-site specific callback from Google’. Read details in the configuration
instructions (linked from the Settings page). This setting will need to be ON if
you are using any domain mapping plugin, and extra Redirect URIs will need to be
registered in Google Cloud Console.

### Is it secure?

Yes, and depending on your setup, it can be much more secure than just using WordPress
usernames and passwords.

However, the author does not accept liability or offer any guarantee, and it is 
your responsibility to ensure that your site is secure in the way you require.

In particular, other plugins may conflict with each other, and different WordPress
versions and configurations may render your site insecure.

### Does it conflict with any other plugins?

Sometimes conflicts can arise. We have built workarounds for some problems, and 
would always appreciate your feedback to resolve any issues you might encounter 
yourself.

One known issue is with iThemes Security: the settings ‘filter suspicious query 
strings’ and ‘filter long URL strings’ can both cause intermittent conflicts and
should be turned off if you are happy with the implications.

My Private Site – Try setting the My Private Site option «Omit ?redirect_to= from
URL (this option is recommended for Custom Login pages)».

WP Email Login – incompatible with Login for Google Apps

### How does it compare to other 3rd party auth plugins?

Login for Google Apps uses the latest secure OAuth2 authentication recommended by
Google. Other 3rd party authentication plugins may allow you to use your Google 
username and password to login, but they do not always do this securely:

 * Other plugins: Users’ passwords may be handled by your blog’s server, potentially
   unencrypted. If these are compromised, hackers would be able to gain access to
   your Google email accounts! This includes all
    [Google Workspace apps](https://workspace.google.com/features/)(
   Gmail, Drive, Calendar, etc.), and any other services which use your Google account
   to log in.
 * This plugin: Users’ passwords are only ever submitted to Google itself, then 
   Google is asked to authenticate the user to your WordPress site. This means Multi-
   factor Authentication can still be used (if set up on your Google account).
    
   Your website only requires permission to authenticate the user and obtain basic
   profile data – it can never have access to your emails and other data.

### What are the system requirements?

 * PHP 7.2.x or higher with JSON extensions
 * WordPress 5.5 or above

And you will need a Google account to set up the plugin.

## Vurderinger

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

### 󠀁[Broken Plugin with no support](https://wordpress.org/support/topic/broken-plugin-with-no-support/)󠁿

 [omarnajdi](https://profiles.wordpress.org/omarnajdi/) 13. desember, 2022

The plugin update results in a redirect loop, there’s no active support for this
plugin.

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

### 󠀁[Plugin sold, no support – Stay away](https://wordpress.org/support/topic/plugin-sold-no-support-stay-away/)󠁿

 [Blutarsky](https://profiles.wordpress.org/blutarsky/) 30. oktober, 2022

– Mr. Lester developed the plugin. Good – Mr. Lester sold the plugin to Lionsher.
Not bad, since it was supported by mr. Bhavesh Akhade – Mr. Bhavesh Akhade quit 
tech support. Bad – None at Lionsher is now capable to support the plugin. One month
on tech support with Miss Emma, who could not help to solve issues. She stopped 
replying to emails. Very very bad Stay away

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

### 󠀁[Great support](https://wordpress.org/support/topic/great-support-3540/)󠁿

 [lebron23](https://profiles.wordpress.org/lebron23/) 26. april, 2021 1 svar

Support team helped a lot!!

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

### 󠀁[Great plugin, works perfect for my organization and my multisite install](https://wordpress.org/support/topic/great-plugin-works-perfect-for-my-organization-and-my-multisite-install/)󠁿

 [Renaat](https://profiles.wordpress.org/rsioncke/) 7. november, 2020 1 svar

Great plugin, works perfect for my organization and my multisite installation. I
tested a few ‘social login’ plugins for WordPress. And I must say that this plugin
is the best in allowing a full installation without issues. All my Google App or
Google Suite or Google Workplace users can now log into my WordPress Multisite installation.
Thanks for this great plugin. Easy to set up. Great documentation available too.

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

### 󠀁[DONT USE IT, SCAM](https://wordpress.org/support/topic/dont-use-it-scam/)󠁿

 [madioszka](https://profiles.wordpress.org/madioszka/) 20. juli, 2020 1 svar

If u don’t have premium, most of your client can’t loggin. :User not registered 
in Wordpress You ofcourse have wordpress account if you are admin.

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

### 󠀁[Excellent product and support.](https://wordpress.org/support/topic/excellent-product-and-support-54/)󠁿

 [helpubuy](https://profiles.wordpress.org/helpubuy/) 2. mai, 2020 1 svar

I purchased both the Google login plugin and the Intranet plugin. I’m not super 
technical and had problems getting the apps configured correctly. Support was outstanding!
They got me up and running in no time. The plugins work perfectly…I’m very happy.
Highly recommended!

 [ Les alle 64 vurderinger ](https://wordpress.org/support/plugin/google-apps-login/reviews/)

## Bidragsytere og utviklere

«Login for Google Apps» er programvare med åpen kildekode. Følgende personer har
bidratt til denne utvidelsen:

Bidragsytere

 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Slava Abakumov ](https://profiles.wordpress.org/slaffik/)
 *   [ Jared Atchison ](https://profiles.wordpress.org/jaredatch/)

“Login for Google Apps” har blitt oversatt til 5 språk. Takk til [oversetterne](https://translate.wordpress.org/projects/wp-plugins/google-apps-login/contributors)
for deres bidrag.

[Oversett “Login for Google Apps” til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/google-apps-login)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/google-apps-login/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/google-apps-login/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/google-apps-login/)
med [RSS](https://plugins.trac.wordpress.org/log/google-apps-login/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 3.5.2

 * Changed: Updated compatibility with WordPress 6.8.
 * Fixed: One Google Services class was missing in the packaged library resulting
   in Google Drive Embedder Enterprise not working correctly.
 * Fixed: Various PHP Deprecation notices and warnings in the Google Services library.

#### 3.5.1

 * Fixed: There was a fatal error when editing a single user in the admin area due
   to the incorrect usage of the built-in WordPress filter.

#### 3.5.0

 * IMPORTANT: The minimum WordPress version has been raised to WordPress 5.5. Technically
   the plugin still works on older versions as well, but we will not actively support
   them.
 * IMPORTANT: The minimum PHP version has been raised to PHP 7.2.
 * Changed: Updated compatibility with WordPress 6.7.
 * Changed: Updated compatibility with PHP 8.
 * Changed: As users may have different Google accounts, and they may not be logged
   in in the correct one, we now request users to confirm the correct account to
   use when they want to log in.
 * Fixed: A lot of plugin strings in its admin area were not translatable.
 * Fixed: Make all URLs in the plugin to use the `https` protocol.
 * Fixed: Fixed all the deprecation and compatibility issues with the latest PHP
   versions, including in the Google API Services library.
 * Fixed: The «Force user to confirm Google permissions every time» option did not
   work correctly because we were passing an incorrect value to Google.
 * Fixed: SVG images used to display Google logo were not rendering properly on 
   various pages.

#### 3.4.6

 * Fixed: Auth errors when redirect login is enabled.
 * Removed the `gal_login_form_readyjs` filter.

#### 3.4.5

 * Updated: Plugin name.
 * Fixed: Admin escaping.

#### 3.4.4

 * Updated compatibility with the WordPress 5.7 release.
 * The «Login with the Google» button removed static images generated same button
   using HTML code and use google svg icon.
 * Bug fixed for header already sent.

#### 3.4.3

 * Updated compatibility with the WordPress 5.6 release.

#### 3.4.2

 * Added missing alt attribute in image tag.
 * Set httponly flag in cookie.
 * Added custom text support for the «Login with Google» button.

#### 3.4.1

 * Bug fixing for PHP Notice: Undefined index: approval_prompt.
 * Bug Fixing for PHP Deprecated: Array and string offset access syntax with curly
   braces is deprecated.

#### 3.4

 * Bug fixing for Invalid parameter value for approval_prompt: ‘auto’.
 * Updated compatibility with the WordPress 5.4 release.

#### 3.3

 * Added permission check functionality.
 * Added Google Drive Embedder insufficient permission error fixes.
 * Added Login With Google buttons branding.
 * Updated compatibility with the WordPress 5.3.1 release.

#### 3.2

 * Added workaround for incompatibility with WPMU Defender plugin’s new 2FA feature.
 * Updated compatibility with the upcoming WordPress 4.9 release.

#### 3.0

 * Internal changes to Google Client library. Essential for the latest versions 
   of some extension plugins such as Google Drive Embedder.

## Meta

 *  Versjon **3.5.2**
 *  Sist oppdatert **11 måneder siden**
 *  Aktive installasjoner **10 000+**
 *  WordPress-versjon ** 5.5 eller nyere **
 *  Testet opp til **6.8.5**
 *  PHP-versjon ** 7.2 eller nyere **
 *  Språk
 * [Dutch](https://nl.wordpress.org/plugins/google-apps-login/), [English (UK)](https://en-gb.wordpress.org/plugins/google-apps-login/),
   [English (US)](https://wordpress.org/plugins/google-apps-login/), [Japanese](https://ja.wordpress.org/plugins/google-apps-login/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/google-apps-login/) og [Spanish (Spain)](https://es.wordpress.org/plugins/google-apps-login/).
 *  [Oversett til ditt språk](https://translate.wordpress.org/projects/wp-plugins/google-apps-login)
 * Stikkord
 * [authentication](https://nb.wordpress.org/plugins/tags/authentication/)[google](https://nb.wordpress.org/plugins/tags/google/)
   [login](https://nb.wordpress.org/plugins/tags/login/)[oauth](https://nb.wordpress.org/plugins/tags/oauth/)
   [sso](https://nb.wordpress.org/plugins/tags/sso/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/google-apps-login/advanced/)

## Vurderinger

 4.6 av 5 stjerner.

 *  [  56 5-star reviews     ](https://wordpress.org/support/plugin/google-apps-login/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/google-apps-login/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/google-apps-login/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/google-apps-login/reviews/?filter=2)
 *  [  5 1-star reviews     ](https://wordpress.org/support/plugin/google-apps-login/reviews/?filter=1)

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

[Se alle omtalene](https://wordpress.org/support/plugin/google-apps-login/reviews/)

## Bidragsytere

 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Slava Abakumov ](https://profiles.wordpress.org/slaffik/)
 *   [ Jared Atchison ](https://profiles.wordpress.org/jaredatch/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/google-apps-login/)