Suman Mali
Suman Mali

Reputation: 31

Vue-social-auth not working on messenger and facebook browser

I am using nuxt for frontend which uses vue-social-auth for social login and laravel for backend which is socialite. It works perfectly well for normal browsers but doesn't work in messanger and Facebook browser. Have anyone come with similar problem.

Any lead is much appreciated.

Upvotes: 1

Views: 312

Answers (1)

Suman Mali
Suman Mali

Reputation: 31

This has been resolved. If anyone faces this problem then please remove vue-social-auth. The problem was that the Facebook and messenger browsers doesn't close the popup given by vue-social-auth and doesn't redirect to the callback.

So the solution would be removing the vue-social-auth package and do it manually on the frontend and in the backend use the socialite stateless method to return JSON response for API calls.

Upvotes: 2

Related Questions