Hey everyone! A new release for the Kotlin Multipl...
# feed
s
Hey everyone! A new release for the Kotlin Multiplatform Authentication library, v0.3.0, is now available. This version brings some significant updates, and now supports the following features on all platforms Android, iOS, Jvm, Js and WasmJs: • Sign In with Google (Without a 3rd Party Auth Library) • Sign In With Apple: iOS (Native Sign in Using AuthenticationServices + Supabase), Android, Jvm, Js and WasmJs (Using Supabase) • Sign In With Facebook/GitHub/Twitter and other supported OAuthProviders using Supabase • Sign In With Email/Phone/IDToken etc. all using Supabase Please feel free to test it out and share your feedback. Your feedback is super valuable! You can find the full details and the updated library here: https://github.com/sunildhiman90/KotlinMultiplatformAuth
d
Looks great 👏 as an FYI, while I'm no auth expert, what I look for in an Auth library is: • OIDC (OpenID Connect) compatibility - giving me greater confidence I could switch between e.g. Cognito, Auth0 and others in future if needed. • Support for PKCE flow (as a further specification of the OICD support) - which means compatibility across all types of clients, native and web. This may already describe your library, just pointing out the terms I'd look for.
s
Thanks for the feedback and suggestion. So google sign in is using oauth which is already OIDC compatible: https://developers.google.com/identity/openid-connect/openid-connect and for other providers we are using supabase oauth on all platforms except apple provider in iOS(here we are using native AuthenticationServices + Supabase id token) . And supabase oauth provides flowType option to use PKCE flow. Currently this parameter is not exposed, but i will expose it to allow user to specify flowType in supabase to use PKCE flow.
d
what about logging in with keycloak (possibly going through a google idc provider)?
s
Hi to be honest, i dont have much idea about keycloak. But i can see, its available in supabase oauth providers. So i can add its support. So it can be used via supabase.
Hi everyone! A new release 0.3.1 is up for the Kotlin Multiplatform Authentication library. This version brings support for specifying Supabase flow type for supabase oauth providers. Now we can use PKCE flow if needed for supabase oauth providers. Please feel free to test it out and share your feedback: https://github.com/sunildhiman90/KotlinMultiplatformAuth
👍 1