You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copy example code and edit it to a "cookie version"
If browser have cookie, it will check and perfectly works.
If I delete cookie from the browser, it should return error but it doesn't.
It means: i give getToken a null value, it doesn't give a error back.
Where did I go wrong?
The text was updated successfully, but these errors were encountered:
Ohhhh, I got it
Cuz I set credentialsRequired = false
so it wont show error
But I feel a little weird that "no token will be fine, but wrong token will get error".
I copy example code and edit it to a "cookie version"
If browser have cookie, it will check and perfectly works.
If I delete cookie from the browser, it should return error but it doesn't.
It means: i give getToken a null value, it doesn't give a error back.
Where did I go wrong?
The text was updated successfully, but these errors were encountered: