REST Attribute Repository not sending basic auth header? (7.2.1)

98 views
Skip to first unread message

Jake Turner

unread,
Apr 24, 2025, 10:01:58 PM4/24/25
to CAS Community
Hello,

I am working on upgrading a 6.6.11 setup to 7.2.1. We are using a REST endpoint behind basic auth for principal attribute resolution. In 6.6.11 this worked great. In 7.2.1, it seems as though the authorization header is not being sent. I can make the request manually through a tool like postman and get a successful response. Here's what headers are coming through to the REST endpoint from the CAS request:

Screenshot 2025-04-24 163830.png

Here is the relevant portion of my cas.properties:
cas.person-directory.principal-attribute=uuid
cas.authn.attribute-repository.core.expiration-time=0
cas.authn.attribute-repository.rest[0].url=<redacted>
cas.authn.attribute-repository.rest[0].basic-auth-username=<redacted>
cas.authn.attribute-repository.rest[0].basic-auth-password=<redacted>

It does seem that my config is being recognized:
Screenshot 2025-04-24 165816.png

I have attached my build.gradle file. Thanks for any help you can provide!
build.gradle

Jake Turner

unread,
Apr 28, 2025, 11:44:54 PM4/28/25
to CAS Community, Jake Turner
Hello all,

Just hoping someone might have some insight here. Thanks so much

Reply all
Reply to author
Forward
0 new messages