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

Support specifying a lifetime for an access token #1564

Closed
matrixbot opened this issue Sep 9, 2024 · 2 comments
Closed

Support specifying a lifetime for an access token #1564

matrixbot opened this issue Sep 9, 2024 · 2 comments

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @Half-Shot at matrix-org/matrix-authentication-service#1564.

I tried to do a little digging for this, but I was a bit lost in the specs for Open ID. I'd like to be able to specify that a session can only live for so many seconds before expiring and requiring the user to reauthenticate. This is specifically to be used with matrix-org/matrix-authentication-service#1563, so that a user can authenticate as another user for a short time.

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @Half-Shot at matrix-org/matrix-authentication-service#1564 (comment).

I think what I am describing is the refresh tokens flow, with some configuration wiggling. I suspect nothing needs to be done for this issue?

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @Half-Shot at matrix-org/matrix-authentication-service#1564 (comment).

In practice we are managing to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant