Giter VIP home page Giter VIP logo

damienbod / aspnetcorewindowsauth Goto Github PK

View Code? Open in Web Editor NEW
126.0 18.0 35.0 2.32 MB

Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4

Home Page: https://damienbod.com/2018/04/15/supporting-both-local-and-windows-authentication-in-asp-net-core-mvc-using-identityserver4/

License: MIT License

C# 48.72% CSS 40.74% JavaScript 0.02% HTML 10.52%
identityserver4 authentication authorization sts aspnetcore mvc windows-authentication

aspnetcorewindowsauth's Introduction

.NET

Blogs

running the applications

  1. Start the StsServer project and the Web API project (Visual Studio IIS Express)
  2. Start the MvcHybridClient (Visual Studio IIS Express)
  3. Start the NativeConsolePKCEClient (Console APP)
  4. Login and run.

Note: the IISExpress certificates need to be allowed when running.

History

2022-02-11 Updated packages and namespaces

2022-01-28 Updated packages

2021-11-12 Updated to .NET 6

2021-08-19 Updated packages

2021-01-05 Update .NET 5

2020-08-25 Adding claims (all roles) to the id_token

2020-08-23 Updated Nuget packages. IdentityServer 4 V4

2020-05-03 Updated Nuget packages

2019-12-20 Updated to .NET Core 3.1

2019-12-02 Added Authorization examples for HTTP request data

2019-11-22 Updated nuget packages, added swagger to the API project

2019-09-12 Updated to .NET Core 3.0, IdentityServer4 3.0

2019-05-05 Updated to in-process hosting, improved configuration

2019-05-02 Updated npm packages, nuget packages

2019-02-10 Updated to .NET Core 2.2, bootstrap 4

2018-09-17 Updated to .NET Core 2.1.4

2018-08-01 Updated to .NET Core 2.1.2

2018-05-15 Updated to .NET Core 2.1

2018-05-08 Updated to .NET Core 2.1 rc1

aspnetcorewindowsauth's People

Contributors

damienbod avatar dependabot[bot] avatar sucrose0413 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aspnetcorewindowsauth's Issues

Manual missing

Would be nice to know how to run this project. I can see 3 projects, API, Web, Web.
When started the API and did some basic requests, there were errors. The websites also did not start at all. How to run it? :)

Claims missing under MvcHybridClient

Hello,
If I uncomment out the lines 430 -> 433 under STS, AccountController.cs, then it adds all of the windows groups as claims.
Then I also uncommented out line 193 so that those claims get added as AdditionalLocalClaims.

Doing this, I can see all of the windows groups as claims if I put a break point in the Index method of the HomeController within the STS project after using windows authentication.

However, if I launch the MvcHybridClient and login through the identity server using windows authenticaiton, then when it redirects me to the Index method of the HomeController within the MvcHybridClient project, I do not see any of the windows groups as claims.

Can you point me in the right direction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.