Open NicolasMahe opened 1 year ago
When a user login using a referral link, the acceptInvitation requests fail because the request doesn't contain the authorization header:
acceptInvitation
https://github.com/liteflow-labs/starter-kit/assets/5823445/fbbf70e3-bbef-482e-b8b4-a26ad3a6b2b3
EDIT: It seems the authentication header is missing from the request, thus the "not authenticated" error.
Indeed, await accept(referral) returns error, This needs to be fixed on liteflow-js repository
await accept(referral)
When a user login using a referral link, the
acceptInvitation
requests fail because the request doesn't contain the authorization header:https://github.com/liteflow-labs/starter-kit/assets/5823445/fbbf70e3-bbef-482e-b8b4-a26ad3a6b2b3
EDIT: It seems the authentication header is missing from the request, thus the "not authenticated" error.