Is there an intuitive way to use the `Sessions` fe...
# ktor
r
Is there an intuitive way to use the
Sessions
feature with
Authentication
?
Copy code
authenticate {
            location<Manual> {
                authenticate("kchatAuth1") {
                    get {
                        call.respondText("Success")
                    }
                }
            }
        }
I only get the
ApplicationCall
object once I'm already inside of the
get {...}
and at that point checking to see if there's an existing session is too late
📝 1
o
I think @cy already added an auth provider for sessions, or may be he was going to…
r
Thanks, I'll try and find it
d
I think it was included in 0.9.2, going to check it and provide a sample
r
Thanks Carlos!