The generator for the Kinde Flutter SDK.
This generator creates an SDK in Flutter that can authenticate to Kinde using the Authorization Code grant or the Authorization Code with PKCE grant via the OAuth 2.0 protocol. It can also access the Kinde Management API using the client credentials grant.
Also, see the SDKs section in Kinde’s contributing guidelines.
npm install @openapitools/openapi-generator-cli -g
Clone the repository to your computer:
git clone https://github.com/kinde-oss/kinde-flutter-generator
Change the current working directory:
cd kinde-flutter-generator
To generate API please run:
npx @openapitools/openapi-generator-cli generate -i https://kinde.com/api/kinde-mgmt-api-specs.yaml -g dart-dio --additional-properties=pubName=kinde_flutter_sdk -o kinde-flutter-sdk/ -c config.yaml --enable-post-process-file --global-property modelTests=false,apiTests=false
Change the current directory to the newly created kinde-flutter-sdk
folder:
cd kinde-flutter-sdk
Gets all the dependencies for kinde-flutter-sdk
packages
flutter packages get
to generate our built_value
models and complete the process
dart run build_runner build --delete-conflicting-outputs
Please refer to Kinde’s contributing guidelines.
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.