Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix server side auth client creation docs

Jan Tennertd19bc08bec5a
diff --git a/spec/supabase_kt_v0.yml b/spec/supabase_kt_v0.yml
index 43b79a6458b..d0c77cb712e 100644
--- a/spec/supabase_kt_v0.yml
+++ b/spec/supabase_kt_v0.yml
@@ -2636,13 +2636,14 @@ functions:
```kotlin
val client = createSupabaseClient(
supabaseUrl = "https://id.supabase.co",
- supabaseKey = "service_role"
+ supabaseKey = "supabaseKey"
) {
install(GoTrue) {
autoLoadFromStorage = false
alwaysAutoRefresh = false
}
}
+ client.gotrue.importAuthToken("service_role")
// Access auth admin api
val adminGoTrueClient = client.gotrue.admin