Allow logged in WordPress user to access 3rd party Laravel API via OAuth
I approached this slightly different for those interested. I wanted to keep my API as light as possible, and not bloat it with versions/revisions and users, so ended up creating a 2nd Laravel instance. On this 2nd Laravel instance (consumer) we used Laravel Socialite as we already use Google as SSO provider. The user logs …