Adding Header to the verification URI in REST Authentication

120 views
Skip to first unread message

reza z

unread,
May 12, 2024, 5:06:23 AM5/12/24
to CAS Community
Hi everyone, In cas v6.6 Rest Auth documentation, It says that endpoint URI to use for verification of credentials can be set by the following configuration: cas.authn.rest.uri= My question is How can I set a header, actually an Authorization header, for this request?

Meysam Shirazi

unread,
May 14, 2024, 12:11:21 PM5/14/24
to CAS Community, reza z
Hi Reza

Please pay attention to this section in the Rest Auth documentation:
"This allows the CAS server to reach to a remote REST endpoint via a POST for verification of credentials. Credentials are passed via an Authorization header whose value is Basic XYZ where XYZ is a Base64 encoded version of the credentials."
So Authorization header is the actual credential that you pass to the rest endpoint.
Reply all
Reply to author
Forward
0 new messages