atinux / nuxt-auth-utils

Add Authentication to Nuxt applications with secured & sealed cookies sessions.
MIT License
981 stars 91 forks source link

Pop Up Window #125

Closed gcom-ryan closed 3 months ago

gcom-ryan commented 4 months ago

Does anyone know a way to get this to work with a pop-up window like we so on most websites?

I have this working inside the parent window, and the whole page refreshes. That is OK, but that is not how most websites using OAuth work.

Any ideas?

atinux commented 4 months ago

One solution I can see is the ability to watch the auth state in the LocalStorage to make it reactive on other tabs.

gcom-ryan commented 4 months ago

We can try this. We also cannot refresh any pages in the app or we get logged out. Could this be due to the same reason?