Questions tagged [basic-authentication]
Basic authentication is a method for a web browser or other client program to provide a user name and password when making a request.
basic-authentication
3,340
questions
0
votes
0
answers
16
views
NGINX Basic Auth & proxy pass
I am trying to find the appropriate NGINX configuration in order to apply Basic Auth at the /location and pass (proxy_pass) the locations to the appropriate path, avoiding any CORS.
default.conf: |
...
0
votes
1
answer
45
views
Basic authentication with nginx does not work when transitioning pages on a static site created with SolidJS
If I directly access a page that restricts access by Basic Authentication, the Basic Authentication dialog is displayed, but if I transition from another page that does not restrict access, the Basic ...
0
votes
0
answers
35
views
Redirect to MSAL Login Page After Successful Google or Basic Authentication in Angular Application
I'm developing an Angular web application that uses MSAL, Google Auth, and basic username/password authentication. However, after a successful login with either Google Auth or basic authentication, ...
0
votes
1
answer
35
views
How long are credentials stored in a browser's cache when using express-basic-auth?
I'm using the express-basic-auth library to protect a route in my Express.js application. I want to ensure that the user's credentials are not stored in the browser's cache. Here's the code snippet I'...
-1
votes
0
answers
17
views
Maintaining Functional Harmony: Ensuring Authentication Doesn't Disrupt Player Component in React Application
//App.js:
`
import Sidebar from "./components/Sidebar";
import Player from "./components/Player";
import Display from "./components/Display";
import { PlayerContext } ...
0
votes
0
answers
16
views
Apache VirtualHost Configuration - Unexpected Authentication Prompt Outside Internal Network
Here is the configuration:
I'm having an issue with my Apache VirtualHost configuration. I've set up pwauth for authentication and restricted access to a specific IP range (10.0.0.0/16) to make the ...
0
votes
1
answer
21
views
How to Implement a Mock Authorization Service in a Django Project for Token-Based Authentication?
I'm currently working on a Django project where I need to implement a mock authorization service to simulate the integration of an authentication system. The goal is to ensure that each API request is ...
0
votes
0
answers
43
views
Apache reverse proxy add http request header according to REMOTE_USER use RewriteRule and RequestHeader
I'm trying to set up an Apache reverse proxy on server B for a private server A, which has three users: a1, a2, and a3. Server B utilizes a TXT map file to map all kinds of users on server B (b1,b2...)...
0
votes
0
answers
30
views
spring secury xml config for webservice SOAP basic authentication
my goal is to expose web service soaps (post) under basic authentication (it is sufficient that the credentials are fixed and noted in the xml).
I tried to configure the xml as follows but when I make ...
1
vote
1
answer
87
views
Blazor Hosted WebAssembly with Keycloak and Basic Authentication Issue
I am using Microsoft Blazor with Hosted WebAssembly model for some applications. This means that the solution has three projects, the client, the server and the shared.
I have already build one ...
0
votes
0
answers
64
views
How would I allow user credentials to be passed into a HTML iframe?
I'm working on a small project at work which uses a local HTML file which contains a iframe and some javascript to change the contents of the iframe every 30 seconds. However, when I provide a ...
1
vote
0
answers
31
views
Token from .env is undefined when fetching data NUXT 3
I'm trying to fetch data from api, as always i need to secure my token that backend given. Using useRuntimeConfig that documentation of Nuxt given. But This always getting undefined value of token.
&...
1
vote
1
answer
95
views
Basic auth not being stored in storageState
I'm setting up a playwright project and trying to store Basic auth for reusability in my tests using dependencies.
The setup always passes, yet the example spec fails with the error page.goto: net::...
0
votes
0
answers
28
views
Python 3 urllib HTTPBasicAuthHandler does not send credentials?
I am trying to use urllib's HTTPBasicAuthHandler to send user & password credentials to an endpoint. The real code runs in a Docker container entrypoint script and targets Wazuh running in another ...
0
votes
1
answer
117
views
What webdav types of authorization are supported in the latest version of office 365 on MacOS?
Some time ago I developed WebDAV functionality in my PHP application. In it, I used basic authentication to identify the user in the system. We respond to requests without authentication with the ...