Questions tagged [www-authenticate]
The www-authenticate tag has no usage guidance.
www-authenticate
62
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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,...
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 ...
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 ...
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 ...
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
...
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 ...
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 ...
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 "...
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\"", ...