oAuth2 need to clean cookie manually if relogin (@nuxtjs/auth-next
)
#1545
Unanswered
steklopod
asked this question in
Support Requests
Replies: 2 comments
-
Hey, thanks for posting. No one else has reported this issue - is it still present in the latest auth-next version? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi there. I have the same issue, and resolve it the same way using the force delete cookies option. I am using @nuxtjs/auth-next: 5.0.0-1613647907.37b1156 (which I believe is the latest) and the issue is still present. I don't see any errors in the console(s). Is there a way additional information can be collected to help diagnose? Thanks |
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
-
Version
5
Reproduction link
https://codepen.io/steklopod/pen/gOMVMEG
Steps to reproduce
My nuxt config:
auth._token.cookie
for domain and subdomain..my.domain
expires2020-11-24T08:16:56.629Z
my.domain
expiresSession
my.domain
with valuefalse
my.domain
with valuefalse
How I fix it:
P.S.: also was trying with
removeUniversal
- but this not helps :-(What is expected ?
Second login is ok without adding extra code on login page
What is actually happening?
Login -> logout -> login not working in custom oAuth2
Additional comments?
Beta Was this translation helpful? Give feedback.
All reactions