Hey I'm looking implement OAuth where user will be...
# multiplatform
s
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
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
@Emre thanks for the resources, will look for it
d
Are there any other services similar to Zitadel, maybe something closer to KMP appeared in the last 2 years ?
o
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.