Restrict Login to SSO SAML Roles

Restrict Login to SSO SAML Roles

by Julian Pool -
Number of replies: 0

Hi,

We use WSO2 and Shibboleth to authenticate our users into Moodle. What we'd like to do is use the Roles a user is assigned to in WSO2 to denote whether or not that user is allowed to log in. Does anyone know where this might need to be configured?

Example is, a user exists in WSO2 and has the Role assigned to them called "Moodle_User", we know this can be passed in the SAML response, but want moodle to only authenticate the login if this Role is present in the string.

Thanks.


---

Moodle Version: 3.5

Average of ratings: -