Login Key Authentication

Overview of the Glance Login Key, a secure, time-limited token used for authenticating users to Glance services.

The Glance Login Key is a secure, stateless, time-limited token used to authenticate users to various Glance services without requiring a traditional username and password. This section provides everything you need to implement Login Key authentication from start to finish. You will find detailed documentation on its HMAC-SHA256 cryptographic structure, architectural security best practices, and server-side code samples in multiple languages. Once your keys are being generated securely, you can explore the usage guides for passing tokens via web URLs and custom protocols, and even use our interactive browser utility to test your integration.

In this section:

  • Login Key: Technical reference for the token's formatting, components, and HMAC-SHA256 signature generation.
  • Login Key Samples: Server-side code snippets in JavaScript, C#, Java, and Python for generating secure keys.
  • Login Key Security: Architectural guidelines, best practices, and stateless design considerations.
  • Login Key Usage: Instructions for passing the Login Key to web pages, agent join links, and the glance:// custom protocol handler.
  • Login Key Check: An interactive, browser-based utility to generate tokens and verify your Start Session and Agent Join URLs.