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
basic auth not working as expected #1416
Comments
|
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
|
I think the issue is related to CLUSTER_RESTAPI_BASICAUTHCREDENTIALS I think the format of this variable is not clear, according to the documentation that would be a json object But I dont think this is working. Also I misunderstood that environment functionality looks like it is used to generate the service.json file AND will also override the service.json, thus, all my testing modifying the service.json didn't work, I guess. |
|
just in case something falls into the same issue: does work. |
|
Yes, I was just writing that. Afaik, this is not documented. Did you find any place where this was written? |
|
thanks @hsanjuan No, I guessed it from the Documentation, it mentions that the content is a JSON object. In my case I did set it from ansible with Now I wonder if I can pass several username/passwords, as it seems to be allowed in the service.json file |
|
Yes, comma-separated as |
|
@hsanjuan thanks |
rvalle commentedJul 23, 2021
Additional information:
Describe the bug:
basic authentication is not working as described in documentation or as discussed in other issues here:
adding to service.json
and also running:
Is behaving as if the username password validation was implemented in a different way.
Any idea of what could be going on?
The text was updated successfully, but these errors were encountered: