Hey I'm looking implement OAuth where user will be navigating to Web for authentication and we will receive
access_token
. How can do this in Compose Multiplatform project for Android, iOS, Desktop and web version ?
Any supportive doc or guide reference will be appreciated ...
e
Emre
08/11/2023, 10:50 PM
I just did this so I can help. I found no cross-platform library so I rolled my own. This guide and this playground helped.
👀 1
s
Swapnil Musale
08/12/2023, 4:18 PM
@Emre thanks for the resources, will look for it
d
Dumitru Preguza
06/12/2025, 1:19 PM
Are there any other services similar to Zitadel, maybe something closer to KMP appeared in the last 2 years ?
o
Olivier Patry
06/12/2025, 4:39 PM
I did that in my Taskfolio project https://github.com/opatry/taskfolio
The Android implementation uses native OAuth with Google API.
On Desktop impl, it redirects to Web browser and listen for Callback URL spawning a short lived web server on localhost.
The oauth code are processed that way.