• Resolved abelale

    (@abelale)


    Hello, I am trying to authenticate users using CAS settings. On our domain server, there are two types of users: staff and edu users. The email addresses for each group follow the format domain.gr for staff and edu.domain.gr for students.

    I would like to assign the “staff” role to users with email addresses in the domain.gr format and the “student” role to those with email addresses in the edu.domain.gr format. Could you please provide a code snippet that filters and assigns the roles based on the user’s email address before they are assigned the default role according to the settings?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cas Login Filter’ is closed to new replies.