I have implemented a custom UI in NextJS and my Backend SDK is in NodeJS hosted in an AWS server. Few issues that I am facing:
- Refresh token is not being set in the cookie, even though it is coming in the consumeCode API
- The refresh API call is not being made automatically to update the accessToken and the refreshToken and hence the token is expiring.
I am using Passwordless recipe to login.
Looking for help