The generator for the Kinde Android SDK.
This generator creates an SDK in Kotlin that can authenticate to Kinde using the Authorization Code grant or the Authorization Code with PKCE grant via the OAuth 2.0 protocol.
Also, see the SDKs section in Kinde’s contributing guidelines.
You will need the following tools to be able to generate the SDK.
Generating the SDK will require OpenJDK to be installed, instructions for which can be found here. Please ensure that the JAVA_HOME
environment variable is set and added to your PATH
.
-
Clone the repository to your machine:
git clone https://github.com/kinde-oss/kinde-android-generator.git
-
Go into the project:
cd kinde-android-generator
Run the following command to generate the SDK:
./generate.sh
This generator does not require the OpenAPI Generator CLI tool since it uses gradlew
and the OpenAPI Generator Gradle Plugin plugin to generate the SDK.
Note: The API specifications should always point to Kinde's hosted version: https://kinde.com/api/kinde-mgmt-api-specs.yaml. Please replace this file in the project root with that of the hosted version before generating the SDK.
The SDK gets outputted to: kinde-sdk
, which you can enter via:
cd ./kinde-sdk
The instructions provided in the "Usage" section above are sufficient to get you started.
Please refer to Kinde’s contributing guidelines.
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.