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

Browser does not prompt for credentials due to incorrect WWW-Authentication header #3054

Closed
asithamadhushanka12 opened this issue Dec 12, 2023 · 1 comment · Fixed by #3055

Comments

@asithamadhushanka12
Copy link

Hi Team,

Description:

When using an API secured with basic auth using RESTBasicAuthHandler(org.wso2.micro.integrator.security.handler.RESTBasicAuthHandler) deployed in MI. When the API is invoked through the browser, the browser does not prompt for the user credentials.

In the Network trace we can see the MI sends the below response to the browser;

HTTP/1.1 401 Unauthorized
WWW_Authenticate: Basic realm="WSO2 EI"
Date: Tue, 12 Dec 2023 03:57:44 GMT
Transfer-Encoding: chunked
Connection: keep-alive

Mi version: 1.2.0

Thanks and best regards,
Asitha M

@GDLMadushanka
Copy link
Contributor

Fixed by #3055

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

Successfully merging a pull request may close this issue.

2 participants