-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 does not work DB-less with 2.8.1-alpine #9271
Labels
pending author feedback
Waiting for the issue author to get back to a maintainer with findings, more details, etc...
plugins/basic-auth
Comments
@Anhellikal thanks for the report, I will check it out tomorrow. |
@Anhellikal, I can reproduce this. Investigating. |
I think it does not work because of |
bungle
added
the
pending author feedback
Waiting for the issue author to get back to a maintainer with findings, more details, etc...
label
Aug 22, 2022
thanks, closing this |
locao
pushed a commit
that referenced
this issue
Jun 21, 2024
…hed as nil under a certain condition (#9271)
oowl
pushed a commit
that referenced
this issue
Jul 15, 2024
… to prevent negative cache (#9511) The issue has been fixed by #9271. This is a small improvement, so skip the changelog and test. https://konghq.atlassian.net/browse/FTI-6026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
pending author feedback
Waiting for the issue author to get back to a maintainer with findings, more details, etc...
plugins/basic-auth
Is there an existing issue for this?
Kong version (
$ kong version
)2.8.1-alpine
Current Behavior
Trying to implement basic_auth via DB_less mode in declarative pipeline, after enabling the basic_auth with username and password and sending a request Kong always return 401 unauthorized.
deployment-service.yaml: |
my kong.yaml: |
request to kong
curl --location --request GET 'http://localhost:52838/echo' \ --header 'Authorization: Basic YWRtaW46YWRtaW4='
response:
Expected Behavior
The response should be authorized 200 status code
Steps To Reproduce
Deploying in a kubernetes environment, to reproduce: Create namespace kong-local in kubernetes Deploy a configmap with kong.yaml file Apply Deploy-Service.yaml Portforward kong-service Curl kong-service with the following request curl --location --request GET 'http://localhost:52838/echo' \ --header 'Authorization: Basic YWRtaW46YWRtaW4='
Anything else?
No response
The text was updated successfully, but these errors were encountered: