Is there a way to block a user account? ie. keep t...
# ory-network
b
Is there a way to block a user account? ie. keep the account but prevent sign-in/valid sessions. Use case: Identify fraud on users account, part of the steps would be to revoke access to the account for that user. We obviously don’t want to delete the account otherwise they could just come back again.
c
I’m here looking for the same information - all I can think of is to implement an
after login
hook, but would be great if there was built in functionality for this.
s
IIRC the sessions will not be automatically revoked, but there is another API for this: https://www.ory.sh/docs/kratos/session-management/list-revoke-get-sessions#administrative
c
💡 thanks @steep-lamp-91158! I missed this page in the docs somehow 🙏