Skip to content

Latest commit

 

History

History

GoTrue

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Deprecation notice

Starting with version 3.0.0, the module is called auth-kt. Checkout the updated README.

The gotrue-kt artifact will no longer be published after version 3.0.0.

Supabase-kt GoTrue

Extends Supabase-kt with a multiplatform Auth client.

Supported targets:

Target JVM Android JS Wasm Apple Windows Linux
Status ☑️* ☑️ ☑️

☑️ = No built-in OAuth support. Linux has no support for persistent session storage.

* iOS and macOS are fully supported

In-depth Kotlin targets

JS: Browser, NodeJS

Wasm: wasm-js

Apple:

  • iOS: iosArm64, iosSimulatorArm64, iosX64

  • tvOS: tvosArm64, tvosX64, tvosSimulatorArm64

  • watchOS: watchosArm64, watchosX64, watchosSimulatorArm64

  • MacOS: macosX64, macosArm64

Windows: mingwX64

Linux: linuxX64

Installation

Newest version:

Versions above 3.0.0 are available under the auth-kt module.

dependencies {
    implementation("io.github.jan-tennert.supabase:gotrue-kt:VERSION")
}

Install the plugin in your SupabaseClient. See the documentation for more information

val supabase = createSupabaseClient(
    supabaseUrl = "https://id.supabase.co",
    supabaseKey = "apikey"
) {

    //...

    install(Auth) {
        // settings
    }

}

Usage

See Auth documentation for usage