-
Notifications
You must be signed in to change notification settings - Fork 140
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
authConfig with external catalog #313
Comments
I was able to add a second form-group in SelectDataSource.vue to preload just our internal catalogs. If this is a feature that others would like I can make a PR to inject this from the config. |
This is intentional for security reasons. Otherwise, credentials/tokens may be leaked to externals.
No, currently you'd need to deploy STAC Browser twice. STAC Browser is optimized to work for a single catalog url (e.g., generates cleaner-URLs, page refresh works better, authentication, ...). Of course there are ways to change the code for your case, but then you may run into conflicts or issues in the future. The SelectDataSource was meant for demo purposes and in the end all pages are implicitly external, which doesn't lead to the best STAC Browser experience. Maybe the best way forward is to allow configuring a pattern for allowed paths for authConfig? |
Actually, there's already an option in the config for this: |
Thanks @m-mohr, I just got the chance to test this with 3.01 and it works. Both of my catalogs are on the same domain, so one setting in |
Hi, I'm trying to configure STAC Browser with two catalogURLs, both of which require auth as a query parameter.
If I set
catalogUrl
andauthConfig
, it will connect and render correctly, but if I then go to/external/
and try to load a second catalog which also requires auth, it doesn't appear that the required parameter is being set.Is there a way to force this? I could also potentially unset the catalogURL and then override the STACIndex listing, and let users pick from that on startup.
The text was updated successfully, but these errors were encountered: