Coder Social home page Coder Social logo

karatejb / aspnetcore.identityserver4.sample Goto Github PK

View Code? Open in Web Editor NEW
40.0 3.0 21.0 3.19 MB

Identity Server 4 + OpenLDAP sample code

License: BSD 3-Clause "New" or "Revised" License

C# 8.81% JavaScript 90.36% Dockerfile 0.18% Shell 0.02% HTML 0.57% Makefile 0.02% Vim Script 0.05%
identity-server openldap docker aspnetcore openid oauth2

aspnetcore.identityserver4.sample's Introduction

Stay positive, stay flying!

karatejb

aspnetcore.identityserver4.sample's People

Contributors

dependabot[bot] avatar karatejb 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

Watchers

 avatar  avatar  avatar

aspnetcore.identityserver4.sample's Issues

[Feature] Support Validation keys n key rollover

Server side

  • Expired signing credential (RSA key-pair) as the validation key for validating the long-lifetime token
    • Functional test on windows: OK
    • Functional test on Docker: OK
  • Expired signing credential (Cert) as the validation key for validating the long-lifetime token
  • Auth Server can response Cache-Control to give client a hint that how often they should update the local copy (cache) from server-side again.

[Feature] Support eager-updating local copy of JWKs on client side

Client side

  • Send the first Disco request on startup to get the suggested cache duration and use the Cached Disco on the fly.
  • Token actions (Get, refresh โ€ฆ) can trigger updating the local copy (cache) of JWKs, but not on the Token-validation. => Maybe create an Authorization Filter to force updating the cache.

Missing JB.Infra.Util dependency/assembly

Short description

JB.Infra.Util is listed as a required package in both AspNetCore.IdentityServer4.Auth and AspNetCore.IdentityServer4.WebApi but is missing.
Those projects can't be build and many classes refer to the missing assembly.

Long description

JB.Infra.Util is listed as a required package in both AspNetCore.IdentityServer4.Auth and AspNetCore.IdentityServer4.WebApi but is missing.

In AspNetCore.IdentityServer4.Auth project

  • AspNetCore.IdentityServer4.Auth.csproj uses JB.Infra.Util version 1.0.0.22 as PackageReference item
  • ServiceCollectionExtensions.cs includes a using statement refering to JB.Infra.Service.Redis
  • ProfileService includes a using statement refering to JB.Infra.Service.Redis

In AspNetCore.IdentityServer4.WebApi project

  • AspNetCore.IdentityServer4.WebApi.csproj uses JB.Infra.Util version 1.0.0.22 as PackageReference item
  • UserProfileController.cs includes a using statement refering to JB.Infra.Service.Redis
  • ServiceCollectionExtensions includes a using statement refering to JB.Infra.Service.Redis

According to the tutorial found here, this assembly is used to dynamically load the information to generate Role/Profile Claims from a Redis.

Possible solutions

Possible solutions implies actions from the repo owner:

  • Make JB.Infra.Util available on Github and add link to documentation/tutorials
  • Add the required class as .cs files in the solution (maybe within AspNetCore.IdentityServer4.Core project)

Off-topic

Anyway thank you for the tutorial, who's brought a very interesting perspective on IdentityServer4 :)

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.