On 1 October 2018 at 15:18, Fahmi L. Ramdhani
<[email protected]> wrote:
> Hi,
>
> I'am unable to retrieves CAS User Attributes using mod_auth_cas. Below is my
> configuration:
> 100-domain.com.conf
> <IfModule mod_ssl.c>
> <VirtualHost *:443>
>         ServerName domain.com
>         ServerAlias www.domain.com
>         ServerAdmin [email protected]
>
>
>         DocumentRoot /home/user/www/sites/domain.com
>         <Directory "/home/user/www/sites/domain.com">
>                 <IfModule mod_auth_cas.c>
>                         CASAuthNHeader On
>                         AuthType CAS
>                 </IfModule>
>
>
>                 # Options Indexes FollowSymLinks
>                 # AllowOverride All
>                 # Require all granted
>                 Require valid-user
>         </Directory>
>
>
>         ErrorLog ${APACHE_LOG_DIR}/error.log
>         CustomLog ${APACHE_LOG_DIR}/access.log combined
>
>
>         SSLCertificateFile /etc/letsencrypt/live/domain.com/fullchain.pem
>         SSLCertificateKeyFile /etc/letsencrypt/live/domain.com/privkey.pem
>
>
>         Include /etc/letsencrypt/options-ssl-apache.conf
>
>
>         <IfModule mod_auth_cas.c>
>         CASLoginUrl           https://login.domain.com/cas/login
>         CASValidateUrl        https://login.domain.com/cas/serviceValidate
>         CASValidateServer     off

This directive was removed in 2014. You should use a newer version of
mod_auth_cas.

When you've upgraded, set "LogLevel debug" and "CASDebug On" to see
your validation response in the logs. Are there attributes there?

-- 
- 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/CAAgu-wAQEQuNX0mz3L155ERFekB9CXLzO-u8fMDvaaGNwqJKUg%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to