zeucapua / myb

custom bsky client
https://myb.zeu.dev
MIT License
63 stars 6 forks source link

feat: Stay Logged In option #4

Closed zeucapua closed 5 days ago

zeucapua commented 1 week ago

Is your feature request related to a problem? Please describe. As a user, it's very annoying to have to reauthorize my Bluesky account every hour after the session expires.

Describe the solution you'd like There should be an option when logging in to choose whether the session should stay logged in.

Additional context Session DIDs are stored as cookies. Most likely there just needs a change to the maxAge property when setting the cookie at the /oauth/callback endpoint.