Hi ! Does someone know a framework for working as ...
# multiplatform
l
Hi ! Does someone know a framework for working as a client of Oauth2 service, handling the eventual login webview for us ? I'm targetting Linux, Windows and Android. I've seen thread https://kotlinlang.slack.com/archives/C3PQML5NU/p1688805476894279, but I'm not sure it fits in my use case.
e
as my reply there says, don't use web views for that. at the very least, Google is blocking them they have docs on how to set up a desktop app's oauth, you're expected to use an external (system) browser
l
Thank you. So I think all I have to do is to launch an intent on Android, and to call an external application on Desktop. Is it right ?
e
on Android you'd be better off with Google's auth sdk
l
Ok. Can it be used for another service that Google (Dropbox for example) ?
e
probably not
l
That's a pity. Thank you anyway 🙂
Is there an alternative to Oauth2 in order to connect to a storage service like Dropbox ? I mean is there a way to overcome the limitation on Android ?
e
that's up to whatever API Dropbox provides
l
There's an SDK for Java https://github.com/dropbox/dropbox-sdk-java. But it's not clear to me if it is compatible with Compose Multiplatform. Specially the desktop platforms.