atinux / nuxt-auth-utils

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

Pop Up Window #125

Closed gcom-ryan closed 2 months ago

gcom-ryan commented 2 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 2 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 2 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?