nicumicle / simple-jwt-login

This plugin allows you to log in, register, authenticate, delete and change the user password to a WordPress website using a JWT.
http://wordpress.org/plugins/simple-jwt-login/
GNU General Public License v3.0
74 stars 21 forks source link

feature: social login/register integration #97

Open whalemare opened 6 months ago

whalemare commented 6 months ago

Is your feature request related to a problem?

I am mobile developer and find your plugin extra useful to make my existed users login into application with JWT Token and login/password pair.

But it will be much cooler, when my users can start login with socials like google and apple.

I was started with Nextend Social Login and Register, but it doesn't provide JWT tokens to authorize users on Wordpress.

So, I think it's perfect time to make simple-jwt-login more powerful by adding social login. It will be better that Nextend solution + add JWT Token supports.

Describe the solution you'd like

  1. user authorized with Google or Apple from mobile app and receive auth-data
  2. mobile app send this auth-data to simple-jwt-login
  3. simple-jwt-login decode this auth-data and store it in database by create/update user
  4. simple-jwt-login create JWT Token for this user and return it back to mobile app

Additional context (optional)

I appreciate your time and ready to pay 500$ for this feature Also, I am ready to help you with all that I can. For example, by making sample of auth application

nicumicle commented 6 months ago

Hi @whalemare, Thank you for this cool idea. I will investigate this and come back with some updates soon.

nicumicle commented 5 months ago

Hello @whalemare,

I've just incorporated Google OAuth into the plugin. You can grab the latest version of this plugin at: https://simplejwtlogin.com/

To access additional information, please refer to the documentation page at: https://simplejwtlogin.com/docs/applications/google/setup/

Feel free to take a look. Any feedback you provide would be much appreciated.