• Stars
    star
    554
  • Rank 77,245 (Top 2 %)
  • Language
    C#
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Certified C#/NetStandard OpenID Connect Client Library for native mobile/desktop Applications (RFC 8252)

About IdentityModel.OidcClient

This repository contains several libraries for building OpenID Connect (OIDC) native clients. The core IdentityModel.OidcClient library is a certified OIDC relying party and implements RFC 8252, "OAuth 2.0 for native Applications". The IdentityModel.OidcClient.IdTokenValidator provides validation of Id Tokens based on the Microsoft JWT handler: IdentityModel.OidcClient.IdentityTokenValidator, and is distributed as a separate package in order to prevent certain dependency problems. Finally, IdentityModel.OidcClient.DPoP adds DPoP extensions to IdentityModel.OidcClient for sender-constraining tokens.

Samples

OidcClient targets .NET Standard, making it suitable for .NET and .NET Framework. It can be used to build OIDC native clients with a variety of .NET UI tools. The samples repository shows how to use it in

  • .NET MAUI
  • WPF with the system browser
  • WPF with an embedded browser
  • WinForms with an embedded browser
  • Cross Platform Console Applications (relies on kestrel for processing the callback)
  • Windows Console Applications (relies on an HttpListener - a wrapper around the windows HTTP.sys driver)
  • Windows Console Applications using custom uri schemes

Documentation

More documentation is available here.

Certification

OidcClient is a certified OpenID Connect relying party implementation.

Feedback

IdentityModel.OidcClient is released as open source under the Apache 2.0 license. Bug reports and contributions are welcome at the GitHub repository.

More Repositories

1

oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
JavaScript
2,416
star
2

IdentityModel

.NET standard helper library for claims-based identity, OAuth 2.0 and OpenID Connect.
C#
995
star
3

IdentityModel.AspNetCore

ASP.NET Core helper library for claims-based identity, OAuth 2.0 and OpenID Connect.
C#
306
star
4

AuthorizationServer

Sample implementation of an OAuth2 Authorization Server
C#
280
star
5

IdentityModel.OidcClient.Samples

C#
274
star
6

IdentityModel.AspNetCore.OAuth2Introspection

ASP.NET Core authentication handler for OAuth 2.0 token introspection
C#
137
star
7

IdentityModel.PCL

A PCL helper library for claims-based identity, OAuth 2.0 and OpenID Connect.
C#
94
star
8

oidc-token-manager

JavaScript
51
star
9

IdentityModel.OidcClient.Old

OpenID Connect Client Library for Native Applications
C#
38
star
10

OidcCli

.NET Tool for running IdentityModel.OidcClient from the Command Line
C#
17
star
11

IdentityModel.AspNetCore.AccessTokenValidation

C#
12
star
12

IdentityModel.Owin.BasicAuthentication

Basic Authentication Middleware
C#
11
star
13

IdentityModel.AspNetCore.ScopeValidation

[deprecated] Scope validation middleware for ASP.NET Core 1
C#
10
star
14

Documentation

Documentation for the IdentityModel family of libraries
6
star
15

UwpOidcClient

Sample Universal Windows Platform (Windows 10) OpenID Connect Client
C#
3
star
16

IdentityModel.Owin.ClaimsTransformation

Claims Transformation Middleware for OWIN/Katana
C#
2
star
17

IdentityModel.HttpSigning

A Method for Signing HTTP Requests for OAuth (https://tools.ietf.org/html/draft-ietf-oauth-signed-http-request-02)
C#
1
star
18

.github

1
star
19

IdentityModel.Owin.PopAuthentication

Authentication Middleware for Proof of Possession Tokens
C#
1
star