GiviKDev.OAuth
0.3.0
Prefix Reserved
dotnet add package GiviKDev.OAuth --version 0.3.0
NuGet\Install-Package GiviKDev.OAuth -Version 0.3.0
<PackageReference Include="GiviKDev.OAuth" Version="0.3.0" />
<PackageVersion Include="GiviKDev.OAuth" Version="0.3.0" />
<PackageReference Include="GiviKDev.OAuth" />
paket add GiviKDev.OAuth --version 0.3.0
#r "nuget: GiviKDev.OAuth, 0.3.0"
#:package GiviKDev.OAuth@0.3.0
#addin nuget:?package=GiviKDev.OAuth&version=0.3.0
#tool nuget:?package=GiviKDev.OAuth&version=0.3.0
GiviKDev.OAuth
OAuth 2.1 facade for ASP.NET Core. Proxies authorization, token, and registration requests to an upstream identity provider while serving AS metadata (RFC 8414) locally.
Quick Start
builder.Services.AddOAuth(opts =>
{
opts.UpstreamAuthorizeEndpoint = "https://idp.example.com/authorize";
opts.UpstreamTokenEndpoint = "https://idp.example.com/token";
opts.ClientId = "my-client-id";
opts.ScopesSupported = ["openid", "profile"];
});
app.MapOAuth();
What It Does
| Endpoint | Behaviour |
|---|---|
/.well-known/oauth-authorization-server |
Serves AS metadata with local URLs |
/authorize |
Redirects to upstream IdP |
/token |
Proxies POST to upstream token endpoint |
/register |
Returns pre-registered client_id (DCR facade) |
Adapters
Use GiviKDev.OAuth.Entra for Microsoft Entra ID or
GiviKDev.OAuth.Mcp for MCP server authentication.
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on GiviKDev.OAuth:
| Package | Downloads |
|---|---|
|
GiviKDev.OAuth.Mcp
MCP integration for GiviKDev.OAuth — wires the OAuth facade with the MCP SDK's authentication handler and protected resource metadata. |
|
|
GiviKDev.OAuth.Entra
Entra adapter for GiviKDev.OAuth — computes upstream URLs from tenant ID and strips the resource parameter. |
GitHub repositories
This package is not used by any popular GitHub repositories.