Recipes
.NET — first integration
← All recipes · First time? Set up your app (60 seconds — keys + redirect URI)
A minimal ASP.NET Core 10 web app that signs a user in via Authaz Sign-In and uses Authaz.Sdk to call the Management API. Single-tenant, password provider, no roles.
1. What you'll build#
An ASP.NET Core minimal API where / is public, /dashboard is protected by Authaz OIDC login, and a /me/profile endpoint reads the signed-in user from the Management API.
2. Application setup#
In the Authaz Dashboard:
- New application → name it, choose Single-tenant.
- Note the Client ID and Client Secret.
- Under Auth Flow Configuration, add
https://localhost:5001/signin-oidcas an allowed callback URL.