Skip to main content

Questions tagged [www-authenticate]

The tag has no usage guidance.

www-authenticate
1 vote
0 answers
239 views

Customize 401 Unauthorized response from AWS Lambda Authorizer

I am developing an API with AWS API Gateway, and the authorization to consume the API endpoints is based on JWT tokens. As a requirement, the server needs to follow strictly the behavior described in ...
Jesus de Gregorio's user avatar
0 votes
0 answers
374 views

WWW-Authenticate is not being sent with HTML login form of Keycloak

As per this doc and as its item 4 says: renders the HTML login screen with status 401 and HTTP header WWW-Authenticate: Negotiate. In the meantime, I don't see anything like this in the response of ...
Greg Semenov's user avatar
1 vote
0 answers
33 views

Getting a 401 error code on Postman 10.15.4 when it was working just fine on 10.13

I have an API that I was using to obtain a JSON through a GET request. I had to first authenticate my user through POST and then GET the information from the API. This would work just fine until the ...
Pratham Mehta's user avatar
0 votes
3 answers
2k views

Python requests WWW-Authenticate missing in headers

I'm trying to access the WWW-Authenticate header after a GET request using Python's requests library. When I do this in Postman it returns it but in Python it doesn't. Python: import requests from ...
AK91's user avatar
  • 701
0 votes
1 answer
495 views

Java socket Basic WWW-Authentication

I want to authenticate a socket connection in the Web browser by using the WWW-Authenticate: Basic header but no prompt for username and password comes up. How do go about it? public static void ...
user avatar
6 votes
3 answers
4k views

C# HttpClient authorization header removed after send to server

I wanna send request to external API through the HttpClient from my own API in c#. I am using dot net 5 and basic authentication. Here is my code: var client = new HttpClient { BaseAddress = new ...
Aliasghar Ahmadpour's user avatar
6 votes
0 answers
832 views

Firefox not showing auth pop-up during www-authenticate negotiate

I have java app that authenticates users based on kerberos WWW-Authenticate Negotiate through browser. All Chromium-based ones behaves identically — sends NTLM ticket which is not supported in the app,...
showgazer's user avatar
  • 111
1 vote
1 answer
743 views

What value should WWW_Authenticate be, if my api uses a header to authentivate clients?

Each client has a private key, which they have to send to the server in a header in each request, like this: X-MY-AUTH-CODE: {PRIVATE_KEY} I've found a list about HTTP Authentication Schemes, but I ...
Iter Ator's user avatar
  • 8,872
0 votes
1 answer
424 views

Accessing on-premise Dynamics v8 via OData using RestSharp/System.Net.Http

I'm trying to access data from our on-premise Dynamics (v8) via OData WebService using RestSharp / System.Net.Http but in this case, I'm kind of stuck. I fiddled around a couple of days now and the ...
grinsehinze's user avatar
0 votes
1 answer
2k views

token not send to the server in angular WWW-Authenticate: Bearer and get 401 error

I'm new in angular and I've created a small role-based app using Angular 9 for frontend and Asp.net core. when I log in/logout to the app is working correctly without any issue and I can access the ...
Ali's user avatar
  • 350
1 vote
1 answer
301 views

Enable apache HTTP basic auth only if response page doesnt have his own basic auth

I added a HTTP basic authentication using Apache to access to a PHP application using a .htaccess file: AuthType Basic AuthName "Secure Area" AuthUserFile /path/to/.htpasswd AuthGroupFile /dev/null ...
Seb33300's user avatar
  • 7,536
3 votes
0 answers
2k views

POSTMAN Digest authentication not working

I am trying to access a REST API (Shopware to be specific), which is hosted externally. When I log in to the frontend in the browser, I first need to enter a set of credentials in the browser ...
kiruthika's user avatar
1 vote
1 answer
1k views

Reverse proxy to remove digest authentication

I'm already looking for days for a solution but I'm not able to find something. I have a few IP camera's (Dahua) which don't have an option for unauthorized, public so to say, viewing. I'm now looking ...
Daan Pape's user avatar
  • 1,140
0 votes
1 answer
2k views

nginx reverse proxy issue with www-authenticate

I want to route the incoming http requests to port 8081 locally using nginx reverse proxy, but application running on 8081 needs www-authenticate header authorization and postman gives me status 401 "...
madprinciple's user avatar
1 vote
1 answer
400 views

Specifying multiple authentication schemes in an www-authenticate header

RFC 7235 states that this header presents two authentication mechanisms: WWW-Authenticate: Newauth realm="apps", type=1, title="Login to \"apps\"", ...
oligofren's user avatar
  • 22.2k

15 30 50 per page
1
2 3 4 5