https://kotlinlang.org logo
#ktor
Title
# ktor
r

Robin Larsen

05/10/2020, 9:21 PM
Hi! I'm trying to decide whether to go with Firebase for user authentication or with the Ktor features, namely Sessions and Authentication (JWT). However, I haven't been able to find some good guides on Firebase Admin and Ktor integration, which makes it harder to go down that route. But at the same time, I'm and Android developer, so I don't know that much about web, and I'd feel more comfortable delegating the responsibility to Firebase if the implementation is simple. Anyone know whether it's worthwhile/possible to make Ktor work with Firebase? And possibly link some guides?
e

edenman

05/10/2020, 10:29 PM
you’re talking about the server side of ktor, i assume?
i’m using firebase auth + ktor on the client but no experience with the backend side, sry
👍 1
r

Robin Larsen

05/11/2020, 9:10 AM
Yeah, I meant server side Ktor with Firebase Admin
d

Desmond Teo

05/11/2020, 3:39 PM
Hi! you can check out my repo here https://github.com/desmondtzq/ktor-auth-firebase, its mostly a copy of the ktor-auth-jwt, but i changed it for verifying firebase id token