Code Monkey home page Code Monkey logo

Comments (7)

leastprivilege avatar leastprivilege commented on July 23, 2024

Well - there is nothing like that implemented right now. We are thinking about it.

But if we would implement that, that would be a per client setting - not per user.

from identityserver3.

ciaranj avatar ciaranj commented on July 23, 2024

I would think per-client makes more sense than per user anyway.

Apologies for the questions, but I'm just struggling at the minute around how to have 2 publicly available un-restricted web urls, sharing the same idP, but with different rights granted to the users of each application (client). Without accidentally granting the 'wider' rights to the wrong user population. I had thought tenancy might be the way to go, but now I'm thinking that there is no 'automatic' way to do what I want, and that I'll have to have an administration role to explicitly add that scope/claim/role etc. to the relevant users.

from identityserver3.

leastprivilege avatar leastprivilege commented on July 23, 2024

Again scope is a client setting - not for users.

from identityserver3.

leastprivilege avatar leastprivilege commented on July 23, 2024

But you can issue different claims based on user/client/scope information - have a look at the DefaultClaimsProvider class

from identityserver3.

ciaranj avatar ciaranj commented on July 23, 2024

Yes, I think that's the way I have to go. A pre-existing user who has the right to do so needs to add to any relevant newly created users the claim to use the 'private' (but publicly available) web url. Would this be a 'common' approach ?

from identityserver3.

leastprivilege avatar leastprivilege commented on July 23, 2024

Well - that's up to your user management piece - the relevant claims would be in the DB - and the claims provider would put them in the token.

from identityserver3.

ciaranj avatar ciaranj commented on July 23, 2024

Yup, I get that's how I'd do it technically, I mean philosophically :) I think I'm happy with this approach, thank you so much for your time and effort on these tools! 👍

from identityserver3.

Related Issues (20)

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.