Skip to content
TDACorpIDENTITYSign in

Cookies

How identity uses cookies to hold a session and short sign-in steps, what protects them, and how they relate to the cookies of the applications you sign in to.

On this page

Identity uses cookies for one job: to connect a browser to something that lives on identity's servers. The cookie never holds your data. It holds a reference.

The authoritative list of every cookie, with its lifetime and attributes, is on the Cookies and local storage page. This page explains the idea behind them and does not repeat that list.

Cookies for a sign-in in progress#

A sign-in, a sign-up and a recovery are each several steps. Short-lived cookies keep a step tied to the browser that began it.

  • A sign-in in progress is held by a cookie that carries only the sign-in's identifier, for 10 minutes. An emailed sign-in link or code works only in the browser that holds it.
  • Sign-up uses two short cookies that bind the emailed code and the verified link to the browser that registered.
  • Recovery uses a cookie so that a recovery link opens only in the browser that asked for it. This is why a recovery link opened on another device asks you to start again.
  • The optional passkey offer sets a cookie so that, if you skip it, you are not asked again for 7 days.

What identity does not do#

  • It sets no analytics, advertising or tracking cookies, and loads nothing from third parties.
  • It does not use localStorage, sessionStorage or IndexedDB.
  • It shows no cookie banner. Every cookie it sets is one that signing in needs, except a small language preference that your own browser writes only when you pick a language with the switcher on a sign-in page. It holds just the language code. See Languages.
  • It has no cookie-free mode. If your browser blocks these cookies, you cannot sign in.

Applications set their own cookies#

Single sign-on does not mean the applications share identity's cookie. The identity cookie is sent only to the identity host. Each application you sign in to sets its own cookies on its own domain, and manages its own session. The application learns who you are from tokens it receives, not from the identity cookie. Those cookies are not listed on identity's pages, and an application should describe its own.

When you sign out of an application, its own session may end without ending your identity session. When you sign out of identity, applications that registered for back-channel logout are told. See Sessions.

Verified against commit ca26dec