Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to decide if they want to stay signed in on this device #42

Closed
aeneasr opened this issue Jul 24, 2019 · 0 comments
Closed
Assignees
Labels
package/selfservice/oidc Affects the OpenID Connect Self Service Strategy package/selfservice/password Affects the Password Self Service Strategy package/session Affects session components

Comments

@aeneasr
Copy link
Member

aeneasr commented Jul 24, 2019

"Keep me signed in on this device" tells the browser (when using the session issuer) to set a TTL on the browser cookie (e.g. 90 days). If the browser's cookie policy allows remembering cookies in such a way, the user will have his session for that period of time and will have to log in again once the TTL expires.

As an alternative, the TTL is not sent, telling the browser to delete the cookie when closing the window (or the browser, depends on the implementation).

The difficulty is adding this to the form field during sign in and combining that with the session hook.

Another question is how this should be handled for Social Providers.

Another question is how this should be dealt with after registration.

@aeneasr aeneasr added package/session Affects session components package/selfservice/oidc Affects the OpenID Connect Self Service Strategy package/selfservice/password Affects the Password Self Service Strategy labels Jul 24, 2019
@aeneasr aeneasr added this to the v0.0.1 milestone Jul 24, 2019
@aeneasr aeneasr self-assigned this Jul 24, 2019
@aeneasr aeneasr modified the milestones: v0.0.1, v0.0.2 Aug 8, 2019
@aeneasr aeneasr added this to To do in Maintainer's Board via automation Feb 1, 2020
@aeneasr aeneasr modified the milestones: v0.2.0-alpha.1, v0.1.1-alpha.1 Feb 1, 2020
@aeneasr aeneasr moved this from To do to Priority in Maintainer's Board Feb 1, 2020
@aeneasr aeneasr modified the milestones: v0.4.0-alpha.1, v0.5.0-alpha.1 Jul 1, 2020
aeneasr added a commit that referenced this issue Jul 27, 2020
aeneasr added a commit that referenced this issue Jul 28, 2020
Maintainer's Board automation moved this from Priority to Done Jul 28, 2020
mcjimenez added a commit to mcjimenez/kratos that referenced this issue Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package/selfservice/oidc Affects the OpenID Connect Self Service Strategy package/selfservice/password Affects the Password Self Service Strategy package/session Affects session components
Projects
Development

No branches or pull requests

1 participant