Web Developer
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
Votes
0
Replies
7
Participants
Unknown
Messages
8
Web Developer
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?
Web Developer
No I didn't touch it
The default is set to 365 days
Web Developer
There isn't any cookie for my website in the browser
Why have it removed 🤔
Are you using the appwrite SDK?
Web Developer
Yes, But with solidstart
Web Developer
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
Octerns
Once the cookie is set can you pls check the expiration time?