Integrate Kinde with ASP.NET using Open ID Connect
SDKs and APIs
Kinde auth can be integrated into your application without the need for an SDK. Follow the appropriate guide to secure your API or use OpenID Connect to secure your web application:
The Kinde .NET SDK allows developers to quickly and securely call the Kinde Management API. The Kinde SDK is available from the Nuget package repository at https://www.nuget.org/packages/Kinde.SDK
yourapp.kinde.com
.Use Dotnet CLI
or NuGet CLI
to add packages in your project.
Dotnet CLI:
NuGet:
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module’s version of Install-Package.
Create and authorize a new client:
Replacing <your-kinde-domain>
with your Kinde domain, <your-client-id>
and <your-client-secret>
with your machine to machine app keys.
The client can be used to call the management API. For example, listing users:
Note this requires the read:users
scope to be added to the API in the machine to machine application in Kinde.
An example of creating an organization then renaming it:
Note this requires the create:organizations
and update:organizations
scopes to be added to the API in the machine to machine application in Kinde.
For full details of the available management API functions, see the Kinde Management API specification.
If you need help getting Kinde connected, contact us at support@kinde.com.