Skip to content

Will Leaf's Authorization work if users are not a member of any group? #436

Answered by ndobb
artgoldberg asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @artgoldberg,

This sounds like something that could be handled by relaxing the requirement that Leaf users be part of a particular group, specifically this line: https://github.com/uwrit/leaf/blob/master/src/server/API/Jwt/JwtProvider.cs#L69. Is it correct to assume that username and so on would still be present on the SAML2 message?

If that's the case, this could be a new minor feature that allows in any user that has a username (to allow for logging/auditing) or something similar, configured in appsettings.json.

Would that work?

Best,
-nic

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@artgoldberg
Comment options

@lrasmus
Comment options

@ndobb
Comment options

@artgoldberg
Comment options

Answer selected by artgoldberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants