-
Notifications
You must be signed in to change notification settings - Fork 30
Handling ERDDAP endpoints with authentication #13
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
Comments
It is possible. The only issue here is developer time 😉 |
I can verify that I'm able to access the protected ERDDAP endpoint http://cgoms.coas.oregonstate.edu/erddap by using
|
@ocefpaf, there is a unmerged PR to pandas to provide authentication: |
@rsignell-usgs after thinking about this for a while we should outsource that to the data reader libraries, like pandas, xarray, etc. It seems that pandas is close to support it, if not I'll try to review that PR. Closing this but if you disagree feel free to re-open it. |
@ocefpaf , looks like pandas-dev/pandas#17087 was closed but the auth was never implemented. What should we do? I have another ERDDAP endpoint that uses auth that I'd like to access with erddapy. |
pandas-dev/pandas#28874 and pandas-dev/pandas#21504 were also closed. Both the original submitter and I gave up on it.
I don't know if this still works, but in theory you can pass your user and password via environment variables and
|
Re-opening this one and xref with #331 so we can keep track of all possible ways to login in an ERDDAP server. |
I'd like to use
erddapy
with an ERDDAP endpoint that is protected with basic authentication (username/password): https://cgoms.coas.oregonstate.edu/erddapIf we were just using
requests
, we could use this, right?http://docs.python-requests.org/en/master/user/authentication/
But is that right approach here?
Or should I just give up on expecting we could access protected endpoints with erddapy?
The text was updated successfully, but these errors were encountered: