Socialite permissions

I’ve got Socialite configured with librenms. Authentication works fine.

Any info on how to assign permissions? Socialte doesn’t seem to have permissions like ad: $config['auth_ad_require_groupmembership'] or $config['auth_ad_groups'].

Anyone using socialiteproviders/microsoft who can give me some hints?

I did a patch for okta Add support for Okta Group claims to set user role by peejaychilds · Pull Request #15020 · librenms/librenms · GitHub

I had a go using the same logic (get claims etc) with Azure AD following the Azure docs which seems to indicate it should be possible … and it didn’t work.

If you apply that patch you could set auth.socialite.default_role to admin or whatever … but it isn’t very fine grained.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.