royboy789 / wp-api-social-login

Using WP-API and Hello.js to create seamless login and registration via social channels
GNU General Public License v3.0
40 stars 4 forks source link

Use flow #7

Open philwilson opened 7 years ago

philwilson commented 7 years ago

Hi. I've been struggling to enable social login using WP-API. I came across this and had a moment of hope but I am struggling to figure out how to actually use it.

My guess was that I need to put the short code into a page in wordpress and then to fetch it using the json api but this didn't seem to work.

Then I though maybe I just need to redirect the user to the actual page rendered by wordpress and now when I try it like this I get 404 as it tries to get a api end point that doesn't exist

POST http://wp.justmakehit.com/wp-json/social_login/social_registration 404 (Not Found)

I have been pulling my hair out for some time trying to get social login/registration through WP-API and any guidance would really be welcome.

Thanks Phil

royboy789 commented 7 years ago

Sorry @philwilson I'll take a look at this and see how I can help.

philwilson commented 7 years ago

Many thanks @royboy789