Hello everyone!
Is there a way to implement a blacklist in Kratos? Specifically, I'm looking to block certain users from obtaining a session token when using the API. Any guidance would be appreciated!
m
magnificent-energy-493
10/08/2024, 5:08 PM
Hello @mysterious-kitchen-18431
You should be able to do that using Ory Actions (basically a webhook that checks an outside list).
You can also do it in the identity schema using regex, but I would assume that is a bit clunky for your use case.
m
mysterious-kitchen-18431
10/10/2024, 2:41 AM
Thank you
mysterious-kitchen-18431
10/11/2024, 11:02 AM
Hello @magnificent-energy-493
Do you know if is there a example anywhere using these web hooks?