Replies: 2 comments 1 reply
-
I'm also facing this situation, you can use message passing between your web app and the extension. your next auth route:
your extension background script:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello , did you find a solution ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I have been working on a project that involves users signing up on my main web app. The web app is created using Nextjs 14 with the new app router support and I used the next-auth to make the user sign in. Now I want to sync the authentication state between my web app and the Chrome extension, so for example, the user can authenticate on the main web app and when the user clicks on the Chrome extension on a separate tab, I want to make sure that the chrome extension shows based on the authenticated routes. It should also be able to make requests to the backend just like we can do from the web app if there exist a session either on the client or server component.
How can I enable something like this, I tried finding tutorials online, but I have no help yet
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions