Skip to content

Moving to production

The test environment and production are separate: in production, the application, the Client ID, the secret and the addresses are all different. Before you go live, check the following.

  • In the production Certilia Developer portal you have an application with production redirect URIs (https only; remove localhost).
  • The application’s name and purpose are the ones users should see; the name cannot be changed later.
  • You request only the data you actually need, and mark as required only what your service cannot work without.
  • You keep the client secret on your server only, outside your code and repositories.
  • The application is in an organisation in the portal if a team works on it (see SaaS).
  • Your application uses the production OpenID Discovery URL (the Integration tab of the production application).
  • With every sign-in you send a new random state and nonce and a PKCE code_challenge (S256), and you verify them all.
  • You validate every ID token (the signature with the keys from jwks_uri, iss, aud, exp, nonce) before you use its data; you do not hard-code the keys.
  • You link the user to an account by the sub claim, not by name or e-mail address.
  • You handle a callback with error=access_denied and a callback without code (after logout).
  • Logout also ends the user’s Certilia session (see Logout).
  • Your server clock is synchronized (NTP); otherwise the exp and iat checks fail.

The full list is in the Security checklist section of the guide.

  • The number of sign-ins through your application is shown on the application’s page in the portal.
  • The status of the services and planned maintenance are shown on the System status page in the portal, and changes on the Changes page.