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

Custom cookie to http-request #146

Open
TuomasK1989 opened this issue Dec 1, 2022 · 3 comments
Open

Custom cookie to http-request #146

TuomasK1989 opened this issue Dec 1, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@TuomasK1989
Copy link

Hi,
I would like to stream 3D Tiles from AWS with the "Tileset Source" -Option set to "From Url". However my content is private and I use custom cookies in http request header to authenticate request. Is it possible to set custom cookies or somehow customize http requests in Unity/c# side or how can I achieve this?

Br,
TMK

@kring
Copy link
Member

kring commented Dec 1, 2022

@TuomasK1989 that's not currently possible without modifying Cesium for Unity itself, but we'll consider it an enhancement request.

The best you can do right now is include authentication information in query parameters.

@kring kring added the enhancement New feature or request label Dec 1, 2022
@TuomasK1989
Copy link
Author

Hi,
I noticed that there has been some development considering request headers. Is it possible to use custom headers in the current or upcoming release?

@kring
Copy link
Member

kring commented Apr 27, 2023

No, the recent work made sure headers added to previous requests could be retrieved from the request object. Adding the ability to specify request headers via configuration on the tileset isn't on our near-term roadmap, but we'd welcome a community contribution to add it. It should be relatively straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants