Has anyone built a way to auth apps without fireba...
# compose
a
Has anyone built a way to auth apps without firebase or 3rd party services? everything i see on klibs is about firebase
context: I have my own backend and i need to sign in my desktop and web app s
The way i picture this is app launches website to login -> normal auth flow from the server side -> deep link back into the app
f
Hello, There is no official SDK for KMP. you must use a third party library or do it yourself with native SDK.
a
why native sdk?
this can be done with pure kotlin i think. im currently authenticating the user on my website and will figure out today how to forward some sort of auth token to the device. for the device it's all kotlin
t
Well the deeplink needs to be intercepted in the actual platform side (it’s platform specific) but you can do the implementation per platform and use standard expect / actual
a
I was vague when i posted this because i didnt know what i was doing. The main issue here is not the deeplinking but the authentication itself. after some research i see that the way to do this is by using PKCE, which i am working on implementing on my server now
👍 1