mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 23:02:59 +03:00
🚀 Feature: multiple session durations #109
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tone866 on GitHub.
Feature description
I would like to see a „remember me“ option, so you can set 2 different session durations.
One short and one long.
Pitch
I would use a remember me option for my personal devices and would uncheck it on everything else, so even if I forget to logoff, it‘s at least not that long logged in anyway.
@Tone866 commented on GitHub:
I'm using mod_auth_openidc and to me it looks like I could do this, when I set the SessionMaxDuration to 0:
@Tone866 commented on GitHub:
Really? With clients I mean the OIDC-Clients, not enduser clients like smartphones.
So if I would create two different OIDC-Clients in Pocket-ID, say secure.example.com and lesssecure.example.com, it‘s not possible to create custom session times on base from which url the request is coming from?
@stonith404 commented on GitHub:
Sorry for my late response. Yes, please see my comment (https://github.com/pocket-id/pocket-id/issues/792#issuecomment-3164845967) in another issue.
@stonith404 commented on GitHub:
In my opinion this option should get removed by mod_auth_openidc because the OIDC spec defines that ID tokens shouldn't be used to define the session duration.
@stonith404 commented on GitHub:
Thanks for the suggestion. I've removed the second part of the feature request because an OIDC provider (like Pocket ID) can't define the session duration of its clients.