The Kinde SDK for Android.
You can also use the Android starter kit here.
For details on integrating this SDK into your project, head over to the Kinde docs and see the Android SDK doc 👍🏼.
The SDK uses AppAuth to receive the
authentication redirect. You choose the redirect scheme for your app by defining
the appAuthRedirectScheme manifest placeholder. This must match the scheme of
the redirect URLs you register in Kinde and pass to KindeSDK.
Important: This placeholder must be set in your own app module's
build.gradle(e.g.app/build.gradle).
// app/build.gradle
android {
defaultConfig {
manifestPlaceholders = [appAuthRedirectScheme: 'com.example.myapp']
}
}With the placeholder above, your redirect URLs would look like:
val kinde = KindeSDK(
activity = this,
loginRedirect = "com.example.myapp://callback",
logoutRedirect = "com.example.myapp://logout",
sdkListener = listener
)Note: From v2.0.0, defining
appAuthRedirectSchemein your own app module'sbuild.gradleis required. If the placeholder is missing, the manifest merge will fail at build time.Upgrading from v1.6.0 or earlier: those versions hardcoded the
kinde.sdkscheme. To keep that exact behavior (keeping your redirect URLs or Kinde dashboard configuration askinde.sdk), setappAuthRedirectScheme: 'kinde.sdk'in your app module'sbuild.gradlee.g.
// app/build.gradle
android {
defaultConfig {
manifestPlaceholders = [appAuthRedirectScheme: 'kinde.sdk']
}
}The core team handles publishing.
Please refer to Kinde’s contributing guidelines.
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.