tarecord / sign-in-with-google Goto Github PK
View Code? Open in Web Editor NEWA WordPress plugin that adds "Sign in with Google" functionality
Home Page: https://wordpress.org/plugins/sign-in-with-google
License: GNU General Public License v2.0
A WordPress plugin that adds "Sign in with Google" functionality
Home Page: https://wordpress.org/plugins/sign-in-with-google
License: GNU General Public License v2.0
WordPress provides a login_redirect
hook which would be the preferred method of redirecting the user after authenticating.
Can you explain the difference between branches? develop
branch is set as main, so is master
obsolete branch we should ignore?
The plugin slows down my Wordpress site a bit. Is it possible to only load the plugin when necessary? Perhaps only when the user is logged out and on the relevant pages (login page and google response page).
EDIT: Checked out the code a bit and I wonder if it is the loading of the dependencies on every page load that slows it down.
When a user tries to sign in with another Google account that shares the same name, there's no error message stating why the user can't be logged in. In the debug.log
it states:
[12-Feb-2019 13:42:29 UTC] Sorry, that username already exists!
So we're getting it, but a meaningful error message on the login screen needs to be added or we need to handle it another way.
NOTE: This should be a rare edge case. User has to have two different email addresses (both of which have domains allowed in the admin) with the same first.last
naming convention
Original request: https://wordpress.org/support/topic/remember-me-option-4/
Hello,
Would it be possible to pass on the “Remember Me” paramater to the plug-in? I patched it for now, it is really super simple.
Thanks
I've installed the plugin. Upon selecting and authenticated with my G-Suite credentials, I'm redirected to my site. However, I'm not logged in. I don't see any errors or logs.
Hey,
Is there a way to show the log in with Google button in a custom login form?
for example in this:
<form method="post" action="<?php echo wp_login_url(); ?>"> <input type="text" name="log"> <input type="password" name="pwd"> <input type="submit" name="wp-submit" value="Login" ></form>
Thanks in advanced for the help
After users log out, they see the login form. From here, they are able to log back in, however, the redirect back fails with just a white screen after they are authenticated with Google.
Steps To Reproduce:
wp-login.php?loggedout=true
screen, click the "Sign In With Google" buttonPlease implement functionality required to use the plugin on a multisite network.
When doing a multisite install of the plugin, at the moment, it is required to set up the plugin for each site that is added.
Please add a multisite settings page that allows administrators to override per-site settings.
Thank you!
There is an issue with Members plugin when “Redirect all logged-out users to the login page before allowing them to view the site.” is enabled.
When you click “Sign in with Google”, it redirects you back to the login page, not in google SSO page.
I tried another “login with google” plugin and it works fine with this option enabled.
View: https://wordpress.org/support/topic/issue-with-members-plugin/
We have tried to contact you through email, also comments under PR, but nowhere get response for a very long time.
Can you please say with one word (yes or no) if the plugin is abandoned or not? we are waiting the PR's to be merged, and if you are no longer interested in the development, we will have to fork it and continue on our own (which I try to refrain from unless you have abandoned this plugin).
In class-sign-in-with-google-admin.php, line 561, you have
wp_redirect( apply_filters( 'login_redirect', $redirect ) );
with only one argument instead of 3 (https://developer.wordpress.org/reference/hooks/login_redirect/). This causes error when hooking to 'login_redirect', such as when redirecting based on user role. Will you be able to change it to accept all 3 arguments as documented here: https://developer.wordpress.org/reference/hooks/login_redirect/? Thanks.
FILE: ...h-google/src/sign-in-with-google/admin/class-sign-in-with-google-admin.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------
228 | WARNING | Found: ==. Use strict comparisons (=== or !==).
507 | WARNING | Found: !=. Use strict comparisons (=== or !==).
545 | WARNING | Found: !=. Use strict comparisons (=== or !==).
559 | WARNING | Found: !=. Use strict comparisons (=== or !==).
612 | WARNING | Found: !=. Use strict comparisons (=== or !==).
704 | WARNING | Not using strict comparison for in_array; supply true for
| | third argument.
--------------------------------------------------------------------------------
Hi,
after upgrading to 1.8 I am getting the following error message:
Notice: Undefined variable: user in /www/htdocs/path_to_site/wp-content/plugins/sign-in-with-google/src/admin/class-sign-in-with-google-admin.php on line 572
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/path_to_site/wp-content/plugins/sign-in-with-google/src/admin/class-sign-in-with-google-admin.php:572) in /www/htdocs/path_to_site/wp-includes/pluggable.php on line 1340
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/path_to_site/wp-content/plugins/sign-in-with-google/src/admin/class-sign-in-with-google-admin.php:572) in /www/htdocs/path_to_site/wp-includes/pluggable.php on line 1343
I replaced some private data with "path_to_site".
Wordpress 5.8.4
PHP 7.4
I am logged in spite of the error messages.
Reentering the website admin url opens the backend.
How can I fix the error messages?
Cheers
the redirect URI in the request, https://harlunfh.com/?google_response, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number}
Thank you for the plugin 🙏 Do you have any plans to extend this plugin to also add google sign in to the WooCommerce login?
Here's the issue i am facing..
Shouldn't it take me to the google login page and allow me to signin with my CorpAccount?
However, if i login to google first with my both of the accounts and then open the WP sire, its asking me to select the account with which i should login.
In #56 a check was added to disallow the registration of new users if the setting anyone can register is not checked in Wordpress.
Would it be possible to make this configurable?
Background: I do not want that anyone can register without google but I do want that users of a speific domain can register with google.
Google is shutting down the Google+ API.
It would be great to provide developers with a way to filter the redirect slug (google_response
) and a custom base site url. ( re: #89 )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.