Is it possible to implement Google authentication ...
# ktor
f
Is it possible to implement Google authentication in kmm and let the ktor-server handle it so that I can use that token to query data from my PostgreSQL database?
a
Do you want to use OAuth2?
f
Yes, could you help with some insights/info? I do read about android and desktop usecases but iOS is always excluded. Also in the confetti app you see the android part having google sign in but iOS not.
a
Implementation of the OAuth2 can be used on both JVM and nix targets so I don't see a problem here. What concerns do you have?
f
Sorry I am kind of a newbie in kmm. Do you mean that I can implement OAuth2 in my ktor server and than just cal that endpoint from my mobile client?
a
Do you want to use the OAuth2 flow with a web browser or without it?
On the client side
f
For security reasons I think that’s the best choice. If there are any drawbacks I am happy to hear them out.