Social Authentication with Strapi and Nuxt.js: Adding Social Providers 2/3

In this tutorial, we’ll be learning how to integrate social authentication into our Strapi application. In order to do this we’ll be building a simple notes sharing application with Strapi backend and Nuxt.js frontend, we’ll also use Quill.js as our text editor, Nodemailer for emails, we’ll integrate infinite scrolling and many more features.


This is a companion discussion topic for the original entry at https://strapi.io/blog/social-authentication-with-strapi-and-nuxt-js-adding-social-providers

Thanks - just going through this. Should this line read:
_provider.vue instead of _provider.js?

Thanks for pointing that out. It’s suppose to be the _provider.vue file

Another quick question. Is there a proper technique to ensure the user remains logged in when they hit refresh on the browser?

Why don’t you use middleware for _provider page? I am facing this issue right now. Not sure about proper way of handling provider type and token, couse it seems on provider page user will see just “user page” message and that’s it

It would be helpful if articles like this were to mention specific major versions of the third-party libraries.

This article is for Nuxt2, meanwhile the Nuxt3 ecosystem has changed.

Thank you for the call out. This article is on the list of articles to be updated.