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 Issues

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?

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? :)

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.