I have written a code for ssr login with oauth2 by google and github. Everything is fine, but after few hours the session is terminated automatically
You can set session length in the console Auth settings. Do you have set that to something superior to some hours?
No I didn't touch it The default is set to 365 days
There isn't any cookie for my website in the browser Why have it removed 🤔
Are you using the appwrite SDK?
Yes, But with solidstart
When the user logs in, the cookie is set correctly and exists in the browser, but it is removed automatically later. I have tested it on different phones using multiple browsers based on chromium like brave and kiwi
Once the cookie is set can you pls check the expiration time?
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...