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

Ability to specify per-tileset request headers + helper for Basic Authentication #738

Open
lilleyse opened this issue Oct 6, 2023 · 2 comments

Comments

@lilleyse
Copy link
Contributor

lilleyse commented Oct 6, 2023

I'm trying to load a tileset from a server that uses basic authentication for all HTTP requests. I was able to modify cesium-omniverse to add the authentication header (see code below), but it would be convenient to have functionality like this built in to cesium-native, i.e. the ability to specify per-tileset request headers + a helper for basic authentication.

session->SetAuth(cpr::Authentication{"username", "password", cpr::AuthMode::BASIC});

This was also requested on the forum: https://community.cesium.com/t/3d-tileset-from-url-basic-authentication/21974

@gitRuiZai
Copy link

gitRuiZai commented Mar 29, 2024

I'm having the same issue with unreal.How can i solve it?

@lilleyse
Copy link
Contributor Author

Also see CesiumGS/cesium-unreal#737 (comment)

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

No branches or pull requests

2 participants