https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

Eirik Vale Aase

12/16/2020, 12:25 PM
Hi all 🙂 When it comes to supporting OAuth2 login flows in a KMM app (iOS, Android), what is the preferred solution? It’s not clear to me that ktor supports it (haven’t found any guides). I guess doing it natively on each platform is the way forward? I’ve been searching in this Slack, and found some relevant things. • kotlinlang#ktor
It's mostly obsolete now but can be used as a starting point for another implementation
e

Eirik Vale Aase

12/16/2020, 12:54 PM
Thanks so much for your response, I will look into it 🙂 In what way is it obsolete? I’m fairly new to Kotlin and KMM.
m

mbonnin

12/16/2020, 12:56 PM
Not sure, it might still work but it was written something like 9 months ago which is ages in the MPP world
e

Eirik Vale Aase

12/16/2020, 12:57 PM
True, thanks 👍
b

Benjamin Charais

12/16/2020, 7:27 PM
My team has recently implemented OAuth utilizing Ktor on a multiplatform project, we did have to write almost the entire exchange manually, but ktor does work reasonably well.
10 Views