Hong Phuc
02/21/2025, 5:23 AMval decodedToken = FirebaseAuth.getInstance().verifyIdToken(session.id, true)
was called when using the session provider named Session
. I tried to put a breakpoint at the code but the program didn't stop there. Thanks in advance
install(Authentication) {
session<FirebaseSession>("Session") {
validate {
session -> {
try {
val decodedToken = FirebaseAuth.getInstance().verifyIdToken(session.id, true)
} catch (firebaseException: FirebaseException) {
challenge {
call.respond(HttpStatusCode.Unauthorized)
}
throw firebaseException
}
}
}
}
}
Aleksei Tirman [JB]
02/21/2025, 8:33 AMHong Phuc
02/22/2025, 11:15 PMtry
block, the authentication handler have never succeededHong Phuc
02/22/2025, 11:17 PMtry
block?Aleksei Tirman [JB]
02/25/2025, 9:27 AMHong Phuc
02/26/2025, 3:25 AM