Guides
System Settings
Integrate CAS

Integrate CAS authentication

About CAS

Central Authentication Service (CAS) is a Single Sign-On (SSO) protocol designed to provide centralized authentication for multiple applications. Developed by Yale University, CAS allows users to access multiple protected services with a single login, eliminating the need to re-enter credentials. It implements authentication through a "ticket" mechanism and supports various identity providers, such as databases, LDAP, and OAuth.

How to configure

1
In the upper-right corner of any page in JumpServer, click .image
2

Navigate to System settings > Authentication > CAS.

3

In the CAS field, check to enable CAS authentication.

4

In the Server field, type the CAS server URI, such as "https://​example.com/cas".

5

In the Proxy server field, type the CAS proxy server URI if behind a proxy. For example, if the host listens on "http://​foo.bar:8080" but requests use "https://​foo.bar:8443", enter "https://​foo.bar:8443", For more information, see Django CAS configuration (opens in a new tab).

6

In the Version field, type the CAS protocol version: 1, 2, 3, or CAS_2_SAML_1_0.

The default is "3".

7

In the User attribute field, type the user attribute mapping. The key represents the CAS user attribute name, while the value corresponds to the JumpServer user attribute name (available options: name, username, email, groups, phone, comment).

CAS User Attribute Example
{
  "cas:user": "username",
  "cas:fullname": "name",
  "cas:mail": "email",
}
8

In the Organization field, after authentication and creation, the user will be added to the selected organization.

9

In the Create user field, when checked, a user will be created upon successful authentication.

Warning

When unchecked and the user does not exist, authentication will fail.

10

In the Logout completely field, when checked, logging out will also log the user out from the CAS service.

11

Click Submit.

JumpServer CAS URLs

Login URL
https://jumpserver.example.com/core/auth/cas/login/
Login Success Callback URL
https://jumpserver.example.com/core/auth/cas/callback/
Logout URL
https://jumpserver.example.com/core/auth/cas/logout/