{"id":13606715,"url":"https://github.com/auth0/auth0-oidc-client-net","last_synced_at":"2025-05-15T10:06:13.049Z","repository":{"id":16868892,"uuid":"80788035","full_name":"auth0/auth0-oidc-client-net","owner":"auth0","description":"OIDC Client for .NET Desktop and Mobile applications","archived":false,"fork":false,"pushed_at":"2025-05-06T05:10:22.000Z","size":7583,"stargazers_count":91,"open_issues_count":6,"forks_count":51,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-06T06:24:44.440Z","etag":null,"topics":["dx-sdk","oidc-client","xamarin"],"latest_commit_sha":null,"homepage":"https://auth0.github.io/auth0-oidc-client-net/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-03T01:54:33.000Z","updated_at":"2025-05-06T05:10:25.000Z","dependencies_parsed_at":"2023-10-02T17:11:27.430Z","dependency_job_id":"5f133cfa-79b0-457b-b425-941c2d4d2840","html_url":"https://github.com/auth0/auth0-oidc-client-net","commit_stats":{"total_commits":415,"total_committers":25,"mean_commits":16.6,"dds":0.5180722891566265,"last_synced_commit":"b13775e15d889865b61e219c7948d3715eab2be3"},"previous_names":[],"tags_count":108,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-oidc-client-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-oidc-client-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-oidc-client-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-oidc-client-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0","download_url":"https://codeload.github.com/auth0/auth0-oidc-client-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319718,"owners_count":22051072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dx-sdk","oidc-client","xamarin"],"created_at":"2024-08-01T19:01:11.775Z","updated_at":"2025-05-15T10:06:08.029Z","avatar_url":"https://github.com/auth0.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"![Auth0 SDK for .NET Desktop and Mobile applications](https://cdn.auth0.com/website/sdks/banners/auth0-oidc-client-net-banner.png)\n\nOIDC Client for .NET Desktop (WinForms, WPF and UWP) as well as Xamarin-based iOS and Android mobile applications.\n\n[![NuGet version](https://img.shields.io/nuget/v/auth0.oidcclient.core.svg?style=flat)](https://www.nuget.org/packages/Auth0.OidcClient.Core/)\n![Downloads](https://img.shields.io/nuget/dt/Auth0.OidcClient.Core)\n[![License](https://img.shields.io/:license-Apache2.0-blue.svg?style=flat)](https://opensource.org/licenses/Apache-2.0)\n[![Build Status](https://dev.azure.com/Auth0SDK/Auth0%20OIDC%20Client.NET/_apis/build/status/auth0.auth0-oidc-client-net?branchName=master)](https://dev.azure.com/Auth0SDK/Auth0%20OIDC%20Client.NET/_build/latest?definitionId=4\u0026branchName=master)\n\n:books: [Documentation](#documentation) - :rocket: [Getting Started](#getting-started) - :computer: [API Reference](#api-reference) - :speech_balloon: [Feedback](#feedback)\n\nThis library makes use of the [IdentityModel/IdentityModel.OidcClient](https://github.com/IdentityModel/IdentityModel.OidcClient) library and uses code from the [IdentityModel/IdentityModel.OidcClient.Samples](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples) repository to achieve browser integration.\n\n## Documentation\n\n- [MAUI Quickstart](https://auth0.com/docs/quickstart/native/maui) - our interactive guide for quickly adding login, logout and user information to a MAUI application using Auth0.\n- [UWP Quickstart](https://auth0.com/docs/quickstart/native/windows-uwp-csharp) - our interactive guide for quickly adding login, logout and user information to a UWP application using Auth0.\n- [WPF/WinForms Quickstart](https://auth0.com/docs/quickstart/native/wpf-winforms) - our interactive guide for quickly adding login, logout and user information to a WPF and WinForms application using Auth0.\n- [Xamarin Quickstart](https://auth0.com/docs/quickstart/native/xamarin) - our interactive guide for quickly adding login, logout and user information to a Xamarin application using Auth0.\n- [WPF Sample App](https://github.com/auth0-samples/auth0-WinFormsWPF-oidc-samples/tree/master/Quickstart/00-Starter-Seed/WPF) - a WPF application integrated with Auth0.\n- [WinForms Sample App](https://github.com/auth0-samples/auth0-WinFormsWPF-oidc-samples/tree/master/Quickstart/00-Starter-Seed/WinForms) - a WinForms application integrated with Auth0.\n- [Xamarin Sample App](https://github.com/auth0-samples/auth0-xamarin-oidc-samples/tree/master/Quickstart/01-Login) - a Xamarin application integrated with Auth0.\n- [SDK docs](https://auth0.github.io/auth0-oidc-client-net/documentation/intro.html) - explore the documentation for this SDK. \n- [Auth0 docs](https://www.auth0.com/docs) - explore our docs site and learn more about \n\n\n## Getting started\n\n### Requirements\n\nFor a list of supported platforms, please refer to the relevant documentation from Microsoft:\n\n* [Xamarin](https://docs.microsoft.com/en-us/xamarin/get-started/supported-platforms)\n* [UWP/WPF/WinForms](https://docs.microsoft.com/en-us/lifecycle/faq/windows)\n\n### Installation\nThe SDK is available on [Nuget](https://www.nuget.org/packages?q=Auth0.OidcClient) for different platforms:\n\n```\nInstall-Package Auth0.OidcClient.UWP\nInstall-Package Auth0.OidcClient.WPF\nInstall-Package Auth0.OidcClient.WinForms\nInstall-Package Auth0.OidcClient.iOS\nInstall-Package Auth0.OidcClient.AndroidX\nInstall-Package Auth0.OidcClient.MAUI\n```\n\n\u003e *Note*: As `Auth0.OidcClient.Android` relies on [support libraries](https://developer.android.com/topic/libraries/support-library) which have been deprecated by Google since 2019, there is no way for `Auth0.OidcClient.Android` to ever work on .NET 6 and above. If you wish to integrate Auth0 in an Android application, use `Auth0.OidcClient.AndroidX` instead.\n\n### Configure Auth0\n\nCreate a **Native Application** in the [Auth0 Dashboard](https://manage.auth0.com/#/applications).\n\n\u003e **If you're using an existing application**, verify that you have configured the following settings in your Native Application:\n\u003e\n\u003e - Click on the \"Settings\" tab of your application's page.\n\u003e - Scroll down and click on the \"Show Advanced Settings\" link.\n\u003e - Under \"Advanced Settings\", click on the \"OAuth\" tab.\n\u003e - Ensure that \"JsonWebToken Signature Algorithm\" is set to `RS256` and that \"OIDC Conformant\" is enabled.\n\nNext, configure the following URLs for your application under the \"Application URIs\" section of the \"Settings\" page:\n\n- **Allowed Callback URLs**\n- **Allowed Logout URLs**\n\n\u003e For the values for these URLs, please refer to the corresponding quickstart from our [documentation](#documentation).\n\nTake note of the **Client ID** and **Domain** values under the \"Basic Information\" section. You'll need these values to configure the SDK.\n\n### Configure the SDK\nAll platforms share the same interface, so you can use the following code to instantiate the `Auth0Client`:\n\n```csharp\nusing Auth0.OidcClient;\n// ...\nvar auth0Client = new Auth0Client(new Auth0ClientOptions\n{\n    Domain = \"YOUR_AUTH0_DOMAIN\",\n    ClientId = \"YOUR_AUTH0_CLIENT_ID\"\n});\n```\n\n\u003e ℹ️ Note that MAUI needs more specific configuration, ensure to read [our instructions for MAUI](ster/src/Auth0.OidcClient.MAUI) when you are targetting MAUI.\n\n## API reference\nRead [the full API reference](https://auth0.github.io/auth0-oidc-client-net) to find out about the public API's this SDK exposes.\n\n## Feedback\n### Contributing\n\nWe appreciate feedback and contribution to this repo! Before you get started, please see the following:\n\n- [Auth0's general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)\n- [Auth0's code of conduct guidelines](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)\n- [This repo's contribution guide](CONTRIBUTING.md)\n\n### Raise an issue\n\nTo provide feedback or report a bug, please [raise an issue on our issue tracker](https://github.com/auth0/auth0-oidc-client-net/issues).\n\n### Vulnerability Reporting\n\nPlease do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\"   width=\"150\"\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_dark_mode.png\" width=\"150\"\u003e\n    \u003cimg alt=\"Auth0 Logo\" src=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\" width=\"150\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eAuth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout \u003ca href=\"https://auth0.com/why-auth0\"\u003eWhy Auth0?\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nThis project is licensed under the Apache-2.0 license. See the \u003ca href=\"https://github.com/auth0/auth0-oidc-client-net/blob/master/LICENSE\"\u003e LICENSE\u003c/a\u003e file for more info.\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fauth0-oidc-client-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0%2Fauth0-oidc-client-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fauth0-oidc-client-net/lists"}