Hi, I have custom endpoint for signin, so I use createNewSession to set the cookies which is then used by frontend to check if session exists. I have updated the core and sdk and now createNewSession needs a new param of 'req'. I am passing it, and I see that it created refresh tokens and everything but on frontend, the cookie value shows 'remove'. Then I tested with createNewSessionWithoutRequestResponse and it actually sets the cookie values like 'sFrontendToken' but it gets in a loop of refreshing the tokens. Please let me know what can be the solution, I can use either createNewSession or createNewSessionWithoutRequestResponse.
r
rp_st
05/11/2023, 11:46 AM
hey @Dalai Llama which version of the frontend sdk are you using? please make sure to use the latest version only
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).