Skip to content

3.2.4

Choose a tag to compare

@jan-tennert jan-tennert released this 26 Sep 16:00
· 732 commits to master since this release
47d7ad8

Changes

Core

  • Update Ktor to version 3.3.0
  • make kermit logger non-global by @sproctor in #1044

Auth & Compose Auth

  • Add support for linkIdentity with OIDC by @jan-tennert in #1051
    You can now link a Google / Apple account to an existing Supabase account via linkIdentityWithIdToken:
    supabase.auth.linkIdentityWithIdToken(provider = Google, idToken = "idToken received from native auth") {
        // optional stuff
    }
    To accomplish this with Compose Auth, set the onIdToken parameter in the rememberSignInWith(...) method:
    //default parameter is ComposeAuth.SIGN_IN_CALLBACK
    val state = composeAuth.rememberSignInWithGoogle(onIdToken = ComposeAuth.LINK_IDENTITY_CALLBACK)
    This also means, you can upgrade anonymous users via native auth and/or handle the id token received from native auth yourself (e.g. via your viewmodel)

Samples