next-firebase-auth-edge: getTokensFromObject returns empty on versions >0.7.6
I just upgraded to 0.8.6
and I noticed getTokensFromObject
wasn’t returning the tokens. Had to downgrade back to 0.7.6
.
Tried on different next versions including 13.4.19
and issue persists.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 19 (11 by maintainers)
@nelsonweze no worries. Glad we have sorted this out! Cheers 😃
So sorry man for the waste of time. I use mono repo for my project and I just realized I was using two different versions of this package in the project. Updated both of them to this and it works. Thank you so much! You’ve been so helpful. Apologies again
@nelsonweze could you install
next-firebase-auth-edge@0.8.7-1
and test if that solved the issue?If not, could you change
cookieSignatureKeys
to['secret1', 'secret2']
and check if it works?It seems that cookies are present, and token is valid, but signature is not verified correctly