Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow token-less tilesets to load #703

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Allow token-less tilesets to load #703

merged 1 commit into from
Mar 12, 2024

Conversation

r-veenstra
Copy link
Contributor

@r-veenstra r-veenstra commented Mar 12, 2024

This PR removes the check for an empty token when configuring a tileset.

This check was preventing some tilesets from loading in scenarios such as using Cesium ion Self-Hosted in developer mode, which does not use Oauth, and a token is not provided. #702

I'm not 100% sure if there was anything more to the original if statement other than being a sanity check that all values were valid, but @lilleyse please let me know if there is something more to it and we'll work out another approach if needed.

I've tested this with both Self-Hosted and ion content and it appears to be working fine.

@r-veenstra r-veenstra linked an issue Mar 12, 2024 that may be closed by this pull request
@lilleyse lilleyse merged commit 9f6d187 into main Mar 12, 2024
3 checks passed
@lilleyse lilleyse deleted the load-tokenless-tilesets branch March 12, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ion server tilesets running without OAuth / no token fail to load
2 participants