Your suggestions work btw: ``` route("...
# ktor
a
Your suggestions work btw:
Copy code
route("api") {
                authentication {
                    intercept(AuthenticationPipeline.RequestAuthentication) { context ->
                        if (context.call.sessionOrNull<Session>() == null) {
                            context.call.respond(UnauthorizedResponse(*emptyArray()))
                        }
                    }
                }
                crud("users", stores.users)
            }