Skip to content

Evaluate Cesium Ion token dependency in tutorials #20

@rdhyee

Description

@rdhyee

Current Situation

The Cesium tutorials ( and ) currently use a hardcoded Cesium Ion access token:

Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwNzk3NjkyMy1iNGI1LTRkN2UtODRiMy04OTYwYWE0N2M3ZTkiLCJpZCI6Njk1MTcsImlhdCI6MTYzMzU0MTQ3N30.e70dpNzOCDRLDGxRguQCC-tRzGzA-23Xgno5lNgCeB4';

Analysis

  • Token age: Created October 2021 (~3+ years old)
  • Current status: Still functional
  • Likely owner: @datadavev (original tutorial creator)
  • Purpose: Provides access to Cesium Ion's terrain data, imagery layers, and 3D assets

Concerns

  1. Sustainability: Personal token may be revoked/expire unexpectedly
  2. Usage limits: Ion tokens have monthly quotas that could be exceeded by tutorial traffic
  3. Ownership: Unclear long-term ownership and responsibility
  4. Security: Token exposed in public repository

Investigation Needed

Research whether tutorials can function adequately without Cesium Ion token by:

  1. Testing token-free operation: Verify basic functionality with default Cesium terrain/imagery
  2. Evaluating visual impact: Compare user experience with/without enhanced terrain
  3. Alternative providers: Investigate OpenStreetMap or other free terrain sources
  4. Usage analytics: Determine if enhanced terrain is essential for tutorial effectiveness

Options

  • Keep current token (if ain't broke, don't fix) - monitor for failures
  • Remove token dependency - use free Cesium defaults or alternative providers
  • Get official iSamples Ion account - proper institutional ownership
  • Make token configurable - allow users to provide their own tokens

Priority

Low urgency since current setup works, but should be addressed for long-term sustainability of public tutorials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions