Logout Redirection

The HarvardKey logout URL is https://key.harvard.edu/logout.

We recommend that you provide a prominently placed link within your application that will allow users to log out of HarvardKey. This logout URL ends a user's automatic login session — in effect, logging a user out of the entire Harvard authentication system.

We strongly suggest that you provide a logout page link or button in a prominent location in your application (or incorporate a callback to the HarvardKey logout page when implementing a link to your own local logout function) to remind users of the need to log out when finished. Or, if it is important for your application to emphasize the difference between an application-only and Harvard-wide logout, you may wish to provide separate links for logging out of the application and logging out of HarvardKey as a whole.