ory / hydra

OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
https://www.ory.sh/hydra/?utm_source=github&utm_medium=banner&utm_campaign=hydra
Apache License 2.0
15.45k stars 1.48k forks source link

Add expiration date to consent sessions. #3588

Closed danieledm closed 1 week ago

danieledm commented 1 year ago

Preflight checklist

Describe your problem

Currently it is not possible to expire a consent session (revoke refresh and access token). While the refresh token remains active, it can only be revoked through manual intervention. In compliance with the PSD2 regulation, Payment Service Users (PSUs) must provide their consent again every 180 days. If a PSU does not renew their connection, the connection must be terminated. ASPSP (banks) could leverage Hydra to expire the consent session and eventually let users (PSU) renew their consent from the bank's application dashboard.

Describe your ideal solution

Workarounds or alternatives

Having separate database storage in a separate service which includes the expiration date and keep it in sync with Hydra.

Version

v2.1.2

Additional Context

No response

github-actions[bot] commented 1 month ago

Hello contributors!

I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue

Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.

Unfortunately, burnout has become a topic of concern amongst open-source projects.

It can lead to severe personal and health issues as well as opening catastrophic attack vectors.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.

If this issue was marked as stale erroneously you can exempt it by adding the backlog label, assigning someone, or setting a milestone for it.

Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!

Thank you 🙏✌️