I am making a custom KTor authentication based on ...
# ktor
a
I am making a custom KTor authentication based on the "basic { ... }" in the code. But I don't really want/need a challenge. I also suspect that is why I am getting a lot of "Server Request Interrupted" in the router logs. So I decided to test throwing an exception and then catching that with StatusPages to get the right response. And it works... Only question is, am I missing something here? It might not be ideal, but I am not working against the concepts in KTor by doing this?