• +45 4949 9091
  • Support
  • Languages
    • Languages
    • English
    • Dansk
    • Svenska
    • Norsk
    • Deutsch
    • Nederlands
    • Polski
    • Français
    • Español
    • Italiano
    • Português
  • Sign up
  • Log in
FoxIDs logo
  • Docs & Tools
    • Documentation
    • Articles
    • JWT Tool
    • SAML 2.0 Tool
    • Certificate Tool
  • Use cases
    • Overview
    • Customers
    • Employees
    • Partners
    • Customer Stories
  • Services
  • Platform
    • Deployment
    • Multi-tenant
    • Identity Logic
    • Compliance
  • Pricing
  • Sign up
  • Log in

ITfoxtec Identity

ITfoxtec Identity is an open-source .NET library that implements OAuth 2.0 and OpenID Connect 1.0.

The library includes request and response models for OAuth 2.0 and OpenID Connect, validation helpers, and utilities for building authorization, token, and logout flows.

Built-in OIDC discovery helpers make it easy to cache discovery documents and JSON Web Key Sets (JWKS).

The company name ITfoxtec has changed to FoxIDs but the components will keep the ITfoxtec name as part of the component name for now.

Support

Ask questions on Stack Overflow.

Email support@foxids.com with a link to your question.

Package

Releases NuGet ITfoxtec Identity

Code and license

GitHub code Open-source license

Supported .NET versions:

.NET 10.0 .NET 9.0 .NET 8.0 .NET 7.0 .NET 6.0 .NET Standard 2.0

When FoxIDs is relevant

Use the open-source library when you need OAuth 2.0 and OpenID Connect building blocks in your own .NET code. FoxIDs is relevant when you need a complete hosted identity platform with login flows, federation, multi-tenant setup, and operational support.

  • Move from protocol building blocks to a full identity service
  • Add federation, external identity providers, and tenant-specific login flows
  • Get hosted operations, compliance features, and expert support
FoxIDs documentation Talk to an expert Get started for free

You can use the JWT tool to decode tokens and create self-signed certificates with the certificate tool.

Code

The code below shows how to build an OAuth 2.0 authorization URL using OIDC discovery.

using ITfoxtec.Identity;
using ITfoxtec.Identity.Discovery;
using ITfoxtec.Identity.Messages;

var discoveryHandler = new OidcDiscoveryHandler(httpClientFactory);
var discovery = await discoveryHandler.GetOidcDiscoveryAsync("https://login.example.com/.well-known/openid-configuration");

var request = new AuthorizationRequest
{
    ResponseType = "code",
    ClientId = clientId,
    RedirectUri = redirectUri,
    Scope = new[] { "openid", "profile" }.ToSpaceList(),
    State = Guid.NewGuid().ToString("N")
};

var authorizeUrl = discovery.AuthorizationEndpoint.AddQuery(request.ToDictionary());
FoxIDs logo

Developed in Denmark. Hosted in Europe.

Developers

  • Documentation
  • Articles
  • Releases
  • Cloud Status

Product

  • Pricing
  • Services
  • Deployment
  • Compliance
  • Trust Center

Company

  • About
  • SKI Supplier
  • Contact Us

Legal

  • Terms of Service
  • Self-Hosted Terms
  • GDPR and Data Protection Agreement
  • Privacy and Cookie Policy
© 2026 FoxIDs, version 2.15.14
GitHub LinkedIn

Cookie choices

FoxIDs uses necessary cookies to make the website work. Select Accept all to also allow analytics cookies that help us understand and improve the website, or Reject all to use necessary cookies only. You can change your choice at any time in our Privacy and Cookie Policy.

Read the Privacy and Cookie Policy