Giter VIP home page Giter VIP logo

asp.net-core-2.0-auth-demo's People

Contributors

chrisklug 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

asp.net-core-2.0-auth-demo's Issues

identityserver example could be expanded

I thought your talk was great but I'm still left with some questions on the IdentityServer sample. I know configuring IdentityServer was not the focus, but in your other samples you have a UserService, you could expand your sample to show how to implement existing services we may have. 99% of the guides for IdentityServer rely on either AddTestUsers or the ASPNET Identity with EntityFramework, what I liked so much about your other projects was the fact it was built up from scratch showing how you could actually implement the under the hood features without imposing constraints like EF.

Thanks so much for contributing content to the community!

Demo '1. Local' not working

Hi Chris,

I've been playing with your code and I can't seem to get the local authentication to work. I'm redirected from 'home/userinfo' back to the login page (url: auth/login?ReturnUrl=%2Fuserinfo)

When I remove the [Authorize] attribute and look at the User object it is a valid User and Identity but User.Identity.IsAuthenticated is false.

Any ideas?

Implementation of Authenticate

if a user isnt found i think you should return:
return Task.FromResult(null);
instead of null

within the Authenticate method.

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.