I'm an issue while trying to log a user in with the fonction account.createEmailPasswordSession I get this message when sending good email and password : Cookie “a_session_{projectID}” rejected because it has the “SameSite=None” attribute but is missing the “secure” attribute.
`const login = async (email, password) => { const session = await account.createEmailPasswordSession(email, password); console.log(session);
const reqUser = await account.get()
setLoggedInUser(reqUser);
};`
Can someone have a idea on how to fix the issue i'm facing ? Thanks
I thinks its a misconfiguration of my self-hosted appwrite, tested with cloud hosting and no problem. What do i need to make it work ?
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...