Skip to main content
The Kotlin SDK makes authentication simple. You can call specific login and signup functions to create your own UI components and authentication flow.

Authentication State

To check if a user is authenticated, you can use the authState variable from the TurnkeyContext.
val authState: AuthState = TurnkeyContext.authState.value

Customize sub-organization creation

Need to configure default user names, passkey names, wallet creations or anything sub-org related? You can learn more about customizing the sub-orgs you create in the Sub-Organization Customization section. Follow the guides below to learn how to set up email and SMS authentication, passkey authentication, and social logins in your Android app.

Email & SMS

Learn how to set up email and SMS authentication in your Android app.

Passkey Authentication

Learn how to set up passkey authentication in your Android app.

Social Logins

Discover how to create and manage social logins in your Kotlin application, including wallet creation, account derivation, and more.

Relying party ID (rpId) setup

Learn how to set up the relying party ID (rpId) for passkey authentication in your Android app.