{"id":15410565,"url":"https://github.com/damienbod/aspnetcorewindowsauth","last_synced_at":"2026-03-10T20:06:34.873Z","repository":{"id":31505718,"uuid":"128103974","full_name":"damienbod/AspNetCoreWindowsAuth","owner":"damienbod","description":"Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4","archived":false,"fork":false,"pushed_at":"2022-12-08T14:52:28.000Z","size":2376,"stargazers_count":127,"open_issues_count":6,"forks_count":37,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-10-11T03:57:44.013Z","etag":null,"topics":["aspnetcore","authentication","authorization","identityserver4","mvc","sts","windows-authentication"],"latest_commit_sha":null,"homepage":"https://damienbod.com/2018/04/15/supporting-both-local-and-windows-authentication-in-asp-net-core-mvc-using-identityserver4/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damienbod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-04T18:28:20.000Z","updated_at":"2025-02-20T13:41:28.000Z","dependencies_parsed_at":"2023-01-14T19:11:55.605Z","dependency_job_id":null,"html_url":"https://github.com/damienbod/AspNetCoreWindowsAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/damienbod/AspNetCoreWindowsAuth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreWindowsAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreWindowsAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreWindowsAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreWindowsAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damienbod","download_url":"https://codeload.github.com/damienbod/AspNetCoreWindowsAuth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreWindowsAuth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30351976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aspnetcore","authentication","authorization","identityserver4","mvc","sts","windows-authentication"],"created_at":"2024-10-01T16:45:02.505Z","updated_at":"2026-03-10T20:06:34.857Z","avatar_url":"https://github.com/damienbod.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![.NET](https://github.com/damienbod/AspNetCoreWindowsAuth/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/AspNetCoreWindowsAuth/actions/workflows/dotnet.yml)\r\n\r\n# Blogs\r\n\r\n\u003cul\u003e\r\n\t\u003cli\u003e\u003ca href=\"https://damienbod.com/2018/04/15/supporting-both-local-and-windows-authentication-in-asp-net-core-mvc-using-identityserver4/\"\u003eSupporting both Local and Windows Authentication in ASP.NET Core MVC using IdentityServer4\u003c/a\u003e\u003c/li\u003e\r\n\t\u003cli\u003e\u003ca href=\"https://damienbod.com/2018/04/19/asp-net-core-authorization-for-windows-local-accounts/\"\u003eASP.NET Core Authorization for Windows, Local accounts\u003c/a\u003e\u003c/li\u003e\r\n\t\u003cli\u003e\u003ca href=\"https://damienbod.com/2018/04/25/oauth-authentication-with-pkce-for-a-net-core-console-native-application/\"\u003eOAuth Authentication with PKCE for a .NET Core Console Native Application\u003c/a\u003e\u003c/li\u003e\r\n\t\u003cli\u003e\u003ca href=\"https://damienbod.com/2019/12/02/using-http-request-routes-request-body-and-query-string-parameters-for-authorization-in-asp-net-core/\"\u003eUsing HTTP Request Routes, Request Body, and Query string parameters for Authorization in ASP.NET Core\u003c/a\u003e\u003c/li\u003e\r\n\t\r\n\u003c/ul\u003e\r\n\r\n## running the applications\r\n\r\n1.  Start the StsServer project and the Web API project (Visual Studio IIS Express)\r\n2.  Start the MvcHybridClient  (Visual Studio IIS Express)\r\n3.  Start the NativeConsolePKCEClient (Console APP)\r\n4.  Login and run.\r\n\r\nNote: the IISExpress certificates need to be allowed when running.\r\n\r\n# History\r\n\r\n 2022-02-11 Updated packages and namespaces\r\n\r\n 2022-01-28 Updated packages\r\n\r\n 2021-11-12 Updated to .NET 6\r\n\r\n 2021-08-19 Updated packages\r\n \r\n 2021-01-05 Update .NET 5\r\n\r\n 2020-08-25 Adding claims (all roles) to the id_token\r\n\r\n 2020-08-23 Updated Nuget packages. IdentityServer 4 V4\r\n\r\n 2020-05-03 Updated Nuget packages\r\n \r\n 2019-12-20 Updated to .NET Core 3.1\r\n \r\n 2019-12-02 Added Authorization examples for HTTP request data\r\n \r\n 2019-11-22 Updated nuget packages, added swagger to the API project\r\n\r\n 2019-09-12 Updated to .NET Core 3.0, IdentityServer4 3.0\r\n\r\n 2019-05-05 Updated to in-process hosting, improved configuration\r\n\r\n 2019-05-02 Updated npm packages, nuget packages\r\n\r\n 2019-02-10 Updated to .NET Core 2.2, bootstrap 4\r\n\r\n 2018-09-17 Updated to .NET Core 2.1.4\r\n\r\n 2018-08-01 Updated to .NET Core 2.1.2\r\n\r\n 2018-05-15 Updated to .NET Core 2.1\r\n\r\n 2018-05-08 Updated to .NET Core 2.1 rc1\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Faspnetcorewindowsauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamienbod%2Faspnetcorewindowsauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Faspnetcorewindowsauth/lists"}