-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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
- Sustainability: Personal token may be revoked/expire unexpectedly
- Usage limits: Ion tokens have monthly quotas that could be exceeded by tutorial traffic
- Ownership: Unclear long-term ownership and responsibility
- Security: Token exposed in public repository
Investigation Needed
Research whether tutorials can function adequately without Cesium Ion token by:
- Testing token-free operation: Verify basic functionality with default Cesium terrain/imagery
- Evaluating visual impact: Compare user experience with/without enhanced terrain
- Alternative providers: Investigate OpenStreetMap or other free terrain sources
- 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
Labels
No labels