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

Prevent "403 Forbidden" with JWT auth #4010

Closed
gbshhennsi opened this issue Apr 29, 2022 Discussed in #4009 · 1 comment
Closed

Prevent "403 Forbidden" with JWT auth #4010

gbshhennsi opened this issue Apr 29, 2022 Discussed in #4009 · 1 comment

Comments

@gbshhennsi
Copy link

Discussed in #4009

Originally posted by gbshhennsi April 29, 2022
Hello !

I am trying to secure my couchdb with a JWT Token. I succefully accessed the Database with the Token and it responds with:

{ "couchdb": "Welcome", "version": "3.2.1", "git_sha": "244d428af", "uuid": "7ce2e0a56139046ee7405702e5c7eb42", "features": [ "access-ready", "partitioned", "pluggable-storage-engines", "reshard", "scheduler" ], "vendor": { "name": "The Apache Software Foundation" } }

The Problem is when I want to access a specific Database I am recieving

{ "error": "forbidden", "reason": "You are not allowed to access this db." }.

The problem is I want to get docs from my Database without user-password authentication.
My docker.ini files auth section looks like this

image

Is the JWT authentication missing the feature of accessing databases without basic auth or am I doing something wrong?
Thanks in advance!

@big-r81
Copy link
Contributor

big-r81 commented Apr 30, 2022

Please dont open topics as issue and discussion. Closing this for now. Continue in #4009

@big-r81 big-r81 closed this as completed Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants