I found the solution. I was using apache 2.4

So the correct configuration was:
<Location /secured>
  Authtype CAS 
  Require user user1 user2 user3
</Location>

/Anders

onsdag den 22. september 2021 kl. 10.45.52 UTC+2 skrev Anders Collstrup:

> Hi,
>
> I want to use use mod_auth_cas to give a handfull of users access to a 
> sensitive site.
> Only 4-5 users will have access.
>
> Is there anyway I can use someting like:
> <Location /secured>
>   Authtype CAS Require cas-attribute "username":user1,user2,user3 ?
> </Location>
>
> And what is the attribute name CAS releases for "username"?
>
> /Anders
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/fe5f77fb-3a2d-4ca4-bfde-38a4b7c45c0fn%40apereo.org.

Reply via email to