Log into your website
Authorized users can log in using their Princeton University credentials via the Central Authentication System (CAS).
There are a few methods to log in to your site with CAS:
- Append "/cas" to your website's URL.
- Click the "Log in" link in your site's utility menu (top right of the page). This may be disabled on some sites.
- Append "/login" to your website's URL to visit the login landing page, and click the "CAS Login" button.
In all cases, once you attempt to log in via CAS, you may be brought to the University's standard CAS login page to enter your credentials. However, if you recently logged in CAS (perhaps for some other University web application), you won't be prompted to enter your credentials and you will just be logged in to your site right away.
Note: You may also have to go through Princeton's DUO two-factor authentication when logging in with CAS. Be prepared to have your smartphone within reach.
Once you have logged in successfully, you will see the admin toolbar at the top of your page with your administrative options. The options you see here will depend on your user role.
Logins for Visitors
In the majority if cases, the only people logging into your site are editors that are manually assigned roles like content manager or site admin. However, sites can be configured to allow non-editors to login as well, typically to access some restricted content or webforms.
Just being able to login via CAS does not grant visitors the ability to login to your site. WDS must configure your site to allow it. Contact us to let us know your use case.
Note that once your site is configured to allow it, visitors can log in the same exact way that editors can. The only difference is the user role they are assigned which controls their access on the site. Also note that when anonymous visitors try to access a page that requires authentication, they will be automatically logged in via CAS. This conveniently allows you to provide a link directly to restricted pages without asking users to first login.
The University’s CAS setup allows Princeton users to maintain an active CAS session up to 12 hours by logging in just once. After the first login, any other websites or web applications that require a CAS login can use that same login session without prompting the user for credentials again.
WDS can optionally configure your site's homepage so that visitors are automatically logged in if they have an active CAS session already. If they don't have an active CAS session, they just see your site as a logged out user. This feature is most useful for sites where the majority of the visitors would be logging in anyway, but you don't necessarily want to force all visitors to login. Contact us if you think you need this setup.
Authenticated users will be automatically logged out after 12 hours of inactivity. The next time they visit the site, they'll need to log in again by following any of the methods listed at the top of this page.