login-with-google icon indicating copy to clipboard operation
login-with-google copied to clipboard

Add new action hook when user logs in

Open mbarreiro85 opened this issue 4 years ago • 3 comments

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/

mbarreiro85 avatar Jun 22 '21 15:06 mbarreiro85

@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

ankitrox avatar Jun 29 '21 10:06 ankitrox

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

mbarreiro85 avatar Jul 02 '21 13:07 mbarreiro85

@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

mbarreiro85 avatar Jul 12 '21 09:07 mbarreiro85