-
Notifications
You must be signed in to change notification settings - Fork 2
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
General authentication method for all services, enhancement for tokens #6
Comments
There are no current proposals to include authentication similar to fdsnws-dataselect in other FDSN services. If you wish to submit such a proposal please contact me. In practice, it should be relatively straightforward and unobtrusive for any datacenter that wishes to add the authentication to their FDSN services in the style of fdsnws-dataselect. |
OK thanks, We run FDSN via seiscomp so probably saner to implement there than here, but in a broader sense it would be nice to have more (easy) control over access in a future version (e.g. separate xml restricted tags for station and dataselect?). I take it that many don't mind if the station metadata is open so long as waveform data is not, but it often introduces quite a few headaches for us. |
I'm moving this to the service commonalities for consideration to apply the fdsnws-dataselect authentication to all services as a general pattern, perhaps with enhancements. Offering these authentication mechanisms would be optional and up to the implementing organization. |
Two suggestions for consideration:
Regarding 2, ideally a method for token use can be specified that is flexible for multiple token usage with details determine by implementers. |
Thanks for bringing this back up, FWIW I would lean towards just implementing option 1 across all services, at least for now. It already works very well and it's nice to just say "the password is banana" to someone in the hallway. |
|
If authentication is realy needed, then OK to move the specification to the commonalities. I would prefer the requests to stay anonymous. As it has already been stated, the authentication step adds complication for data and metadata access. It should be reserved to special use cases. I agree that basic auth is a HTTP level protocol, but the authentication method has to be clearly stated in the FDSN specification because otherwise, interoperability will break, or at best be more difficult (I guess the wadl description could tell what authentication mechanism is needed but then clients would need to switch mechanisms from one service provider to the other, I would rather avoid to slide into this branch of the multiverse). Also note that with authentication based on JWT passed in the header, we don't need the queryauth endpoint anymore. I would suggest to just drop it. I guess all my points are consistent with the suggestion 2 from @chad-earthscope. |
Are there any future plans for implementing some type of use-authentication method (as in dataselect) for station data as well? There are practical reasons why one may want to not share restricted metadata, particularly the precise locations of active temporary deploys.
The text was updated successfully, but these errors were encountered: