Common authentication for Plasmo and next app using firebase.
I have been using firebase authentication for my existing next app in where I store my token and use details in cookies. Now I have been developing a chrome extension with Plasmo. What I want to achieve is if the user is already logged in in the next app, then that user should be logged in with Plasmo extension when it loads. If user is not logged in with the next app and user opens the extension then they should be redirected to the next app for login, and once the login is completed on the next app, user can come back on the extension and see their selves logged in. I am a newbie in the domains of extensions. Seeking for expert support. Thank You!
0 Replies