Will Leaf's Authorization work if users are not a member of any group? #436
-
|
Hi @ndobb I'm expanding on Discussion #435 . Our use case is that we want everyone with active network credentials to be able to use a Leaf instance which accesses only de-identified data. I have learned that our Azure Active Directory (AD) service can be configured to authenticate anyone with active network credentials by creating Azure AD application that does not have an AD group associated with it. Thus, everyone who logs in will be authenticated, but nobody will be a member of a SAML group. In this case can Leaf work and what should be the value for The benefit of this approach for our deployment and institution is that the people with active network credentials is a large and frequently changed group. Therefore, it is much more appropriate for our IT security to maintain this set than it is for us. However, my guess is that this use case is not supported by Leaf because it relies on groups provided by the SAML Identity Provider and the roles in I should add that the access mode I'm proposing clearly differs from a setup that does not use authentication. What do you think? Arthur |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
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, |
Beta Was this translation helpful? Give feedback.

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