You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sign In with IDToken throws "A provider must be specified" even though a provider is specified.
put("provider", it.name)
returns null at
value.provider?.let {
put("provider", it.name)
} ?:throwIllegalArgumentException("A provider must be specified.")
So new code should be:
value.provider?.aslo {
put("provider", it.name)
} ?:throwIllegalArgumentException("A provider must be specified.")
to avoid null return of the put method.
Platform(s)
Android
Relevant log output
java.lang.IllegalArgumentException: A provider must be specified.
at io.github.jan.supabase.gotrue.providers.builtin.DefaultAuthProvider$Config$Companion.serialize(DefaultAuthProvider.kt:58)
The text was updated successfully, but these errors were encountered:
General Info
What happened? (include your code)
Sign In with IDToken throws "A provider must be specified" even though a provider is specified.
put("provider", it.name)
returns null at
So new code should be:
to avoid null return of the
put
method.Platform(s)
Android
Relevant log output
java.lang.IllegalArgumentException: A provider must be specified. at io.github.jan.supabase.gotrue.providers.builtin.DefaultAuthProvider$Config$Companion.serialize(DefaultAuthProvider.kt:58)
The text was updated successfully, but these errors were encountered: