Skip to content

Commit e907cf4

Browse files
committed
Fix GoTrue#loginWith
1 parent aef4d39 commit e907cf4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: GoTrue/src/commonMain/kotlin/io/github/jan/supabase/gotrue/GoTrueImpl.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ internal class GoTrueImpl(override val supabaseClient: SupabaseClient, override
9393
redirectUrl: String?,
9494
config: (C.() -> Unit)?
9595
) = provider.login(supabaseClient, {
96-
startAutoRefresh(it)
96+
authScope.launch {
97+
startAutoRefresh(it)
98+
}
9799
}, redirectUrl, config)
98100

99101
override suspend fun <C, R, Provider : AuthProvider<C, R>> signUpWith(

Diff for: buildSrc/src/main/kotlin/Publishing.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
object Publishing {
22

3-
val REPOSITORY_ID = System.getenv("SONATYPE_REPOSITORY_ID")
3+
val REPOSITORY_ID = "iogithubjan-tennert-1173"
44
val PROFILE_ID = System.getenv("SONATYPE_PROFILE_ID")
55
val SONATYPE_USERNAME = System.getenv("OSSRH_USERNAME")
66
val SONATYPE_PASSWORD = System.getenv("OSSRH_PASSWORD")

Diff for: buildSrc/src/main/kotlin/Versions.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ object Versions {
66
const val COROUTINES = "1.6.4"
77
const val DOKKA = "1.7.20"
88
const val NEXUS_STAGING = "0.30.0"
9-
const val SUPABASEKT = "0.6.0-alpha-2"
9+
const val SUPABASEKT = "0.6.0-alpha-3"
1010
const val ANDROID_COMPAT = "1.5.1"
1111
const val COMPOSE = "1.2.0"
1212
const val NAPIER = "2.6.1"

0 commit comments

Comments
 (0)