rtCamp / login-with-google

Minimal plugin which allows WordPress user to login with google.
https://wordpress.org/plugins/login-with-google/
GNU General Public License v2.0
63 stars 17 forks source link

Add new action hook when user logs in #76

Open mbarreiro85 opened 3 years ago

mbarreiro85 commented 3 years ago

Hi there,

Thank you for your good work with this plugin, we at observador are happy to use it and want to make a contribution.

So as we make login from different sources, and we need to register which source was used to login, we created a action hook to know if the user that logged in came from your plugin or not.

If you need some modification from our part we are happy to do it.

kind regards, Miguel Barreiro https://observador.pt/

ankitrox commented 3 years ago

@mbarreiro85 We have implemented the rewrite of the plugin where we are storing the meta information in usermeta table if user registers from the plugin.

https://github.com/rtCamp/login-with-google/tree/fix/oauth-class

https://github.com/rtCamp/login-with-google/blob/fix/oauth-class/src/Modules/Login.php#L218

mbarreiro85 commented 3 years ago

@ankitrox Thank you for your feedback, i will check it.

mbarreiro85 commented 3 years ago

@ankitrox, The pull request we made was about when users login with your plugin, not when they register, can you please take a look at it.

kind regards