You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not what I wanted to achive.
I want to allow a user to use an app based on the groups he is part of.
That way I can have one tinyauth instance that protects multiple apps and I can control which user can use which app based on the groups.
Reacted by Jérôme Bezet-Torres [MVP x6 - PowerShell ]
Activity
Bouni commentedon Dec 19, 2025
This is esentially what I wanted to do in #472
I did a few quick tests using
ldapsearchSo it should be really easy to also query the groups of a user and store them in the same way
OAuthGroupsare stored already.Unfortunately I'm not really good at writing or understanding Go, so submiting a PR is far beyound my capabilities 😞
Edit: my test user is named MyUser which is memeber of the group MyTestGroup
JM2K69 commentedon Jan 7, 2026
I you want to use group I found a solution look here
All user member of this AD group might be authenticated.
Bouni commentedon Jan 9, 2026
This is not what I wanted to achive.
I want to allow a user to use an app based on the groups he is part of.
That way I can have one tinyauth instance that protects multiple apps and I can control which user can use which app based on the groups.
steveiliop56 commentedon Jan 17, 2026
Added with #590!
Bouni commentedon Jan 27, 2026
Can you give a bit of a hint how to get the actual groups?
This is my env file:
And this my caddy config
In my application I see the headers
HTTP_REMOTE_EMAIL,HTTP_REMOTE_NAMEandHTTP_REMOTE_USERbut noHTTP_REMOTE_GROUPSDo I need to change something in my config?
I verifyed that my user I log in with is member of 2 groups
steveiliop56 commentedon Jan 27, 2026
This feature is not yet released. Alongside with v5 there will be relevant documentation on how to set it up.