3,329 questions
0
votes
0
answers
95
views
Is it possible to implement Basic Authentication in YARP (ASP.NET Reverse Proxy)?
I’m trying to find out whether it’s possible to implement Basic Authentication directly in YARP (Yet Another Reverse Proxy).
If YARP doesn’t natively support Basic Auth, that’s fine — I’m mainly ...
-2
votes
1
answer
153
views
Detect Http Basic Authentication in Playwright
I am writing a playwright based crawler that encounters various Http Basic Authentication sites.
I would like to detect these sites, abort the crawling, and catalog them as sites that I know to be ...
0
votes
1
answer
102
views
Basic authentication — two requests from Excel Power Query
I have a very simple data providing PHP script that uses basic authentication.
if( !isset( $_SERVER[ 'PHP_AUTH_USER' ] ) ) :
header( 'WWW-Authenticate: Basic realm="My Realm"' );
...
0
votes
0
answers
117
views
.NET Selenium Driver with Authentication - Handling Authentication Failure
With .NET and Selenium, I'm using Chrome drivers to navigate pages and retrieve their content.
Consider the following code where I use basic authentication to retrieve a page content. I'm targeting ....
0
votes
0
answers
181
views
How to handle HTTP Basic Authentication on Safari Browser
Our web application is secured with HTTP Basic Authentication. For Chrome and Edge, we successfully bypass the authentication prompt by embedding the username and password directly into the URL like ...
1
vote
0
answers
203
views
C# / RestSharp API call blocked in DEV environment behind Cloudflare – works in Postman
I’m running into a strange issue with a POST request to an OAuth /oauth/token endpoint hosted by JobTeaser behind Cloudflare, and I’d like to know if there’s anything I should adjust in my C# code (...
0
votes
0
answers
46
views
How to avoid ValidProxyAuthenticationRequired web error status while authenticating to a proxy server in Microsoft Edge WebView2 control
I have the following C# code to initialize and to use a proxy server with Microsoft Edge WebView2 control (v.1.0.3179.45):
var proxyAddress = ...
var proxyPort = ...
var proxyUserName = ...
var ...
-2
votes
1
answer
113
views
Spring Security - JWT and Basic Auth for different patterns [closed]
I do struggle in adding Basic Auth side by side with JWT securing separate endpoints. I've tried multiple ways, also this from earlier posts Configure multiple authentication types wit spring security ...
1
vote
0
answers
68
views
How to use static users for authentication and authorization?
how can we create static users and assign various levels of access to these users using the basic_auth.ini file?
[mlflow]
default_permission = READ
database_uri = <postgres-url>
admin_username = ...
0
votes
1
answer
200
views
How do I add basic authentication on certain API calls in an ASP.NET Core website using Identity
I have an ASP.NET Core web application that is using Identity for authentication and authorization. This allows me to register users easily in the website and it all works as expected.
However, the ...
0
votes
0
answers
60
views
How to share accessToken from frontend to backend when using KeyCloak as an IAM?
I'm looking into implementing auth for a React/Node application using KeyCloak.
Most of the tutorials I've followed introduce the following flow:
User visits page
User signs in to KeyCloak
On ...
0
votes
0
answers
48
views
Basic auth application - public or private login endpoint for first call
I would like to know if what an old backend application that we use is wrong or not.
This application uses basic auth to provide authentication. This means that every single request done towards its ...
0
votes
1
answer
174
views
Mozilla inbuilt login authentication prompt issue - buggy login user experience
We are currently experiencing an issue with our configured SailPoint IdentityIQ Single Sign-On, which uses Basic Authentication.
Issue Description
First, the login button needs to be clicked multiple ...
0
votes
1
answer
267
views
How to Scrape Data from Bayut (DLD-Validated Properties) Without Getting 401 Error?
I'm scraping real estate data from Bayut using Scrapy but can't extract thethe green tick (DLD-validated info)
The information is fetched via a POST API with basic authentication.
Calling the API in ...
1
vote
1
answer
131
views
Papertrail API returns 401 Unauthorized in Babashka script despite valid token
I'm using Heroku with the Papertrail add-on to manage my server logs. However, I'm not satisfied with Papertrail’s UI and would like to pull logs locally using their API. To do this, I'm writing a ...
0
votes
1
answer
139
views
How to configure nginx basic_auth in DDEV [closed]
Trying to get basic_auth work for nginx in DDEV.
I added a .ddev/nginx_full/auth.conf with the following content
server {
listen 80;
listen 443;
server_name dev.example.com;
location ^...
1
vote
0
answers
102
views
Custom API Returning Login Page Instead of Response with auth="user"
I'm developing a custom API in Odoo and encountering an issue where my API endpoint returns the Odoo login page instead of the expected response. I have implemented Basic Authentication, but it seems ...
0
votes
1
answer
64
views
How is the authentication header in GraphDB constructed?
Can anyone tell me how I should programmatically construct an authentication request in GraphDB? In other systems I have made a basic authentication request by appending a base64-encoded username and ...
0
votes
1
answer
736
views
How can I disable the secure by default model for plugins in Backstage ? Or how can I generate the token for my default guest user?
I am trying to develop an internal plugin in my backstage instance. I started with a simple plugin that retrieves data from an external API, but I encountered this error:
"error": {
&...
2
votes
1
answer
453
views
GRPC TransportCredentials for Basic Authentication
I'm trying establish a connection to a remote GRPC service (a Camunda Zeebe gateway) with basic authentication:
client, err := zbc.NewClient(&zbc.ClientConfig{
GatewayAddress: ...
3
votes
1
answer
10k
views
SMTPAuthenticationError - basic authentication is disabled for outlook.live.com for personal hotmail account
I have Python code that sends me email for notification. It stopped working around Oct 1st, 2024. I checked the error and it is pretty self explanatory:
SMTPAuthenticationError: (535, b'5.7.139 ...
0
votes
1
answer
554
views
Laravel 11: Basic Auth to protect & showcase unfinished app to Client
I have an app that is still under development, yet it is already deployed and live on the server. To protect it from being visited by boots or humans who should not see it yet, I have enabled Basic ...
0
votes
0
answers
67
views
Can't get Basic Authentication to work in nginx
On a Debian 12 machine I installed nginx (nginx/1.22.1).
Because I still have Apache running, I changed the 2 listen directives in sites-available/default from 80 to 8000. Nothing else was changed.
...
1
vote
1
answer
351
views
Auth Session Not Persisting After Login Attempt
I'm using Laravel 11 with MongoDB for authentication. However, after a successful login attempt using Auth::guard('web')->attempt(), the authentication session is not persisting, and Auth::user() ...
0
votes
1
answer
863
views
Intermittent 403 Errors with JFrog Artifactory (self-hosted) Access Tokens
Issue Description:
We are facing intermittent 403 errors when using valid access tokens for authentication. This issue affects multiple operations, including resolving Gradle dependencies and pushing ...
0
votes
1
answer
1k
views
Can a GitLab CI_JOB_TOKEN be used to clone repositories during a GitLab CI pipeline?
During the CI pipeline of Project A, I am trying to clone another repository on our GitLab instance (self-hosted) by using the CI_JOB_TOKEN. I already use it successfully for accessing Git submodules ...
1
vote
0
answers
37
views
Getting IOException when used basic authentication on the time of indexing in Solr 8.9.0
I have install solr 8.9.0 in cloud mode. I have created 2 shards. I have enabled the Basic Authentication using security.json. not use the authorization part.
security.json
{
"authentication&...
0
votes
1
answer
62
views
How to handle success and failure in springboot for basic auth?
I need to add some custom logic like using a service to log my failed attempts or reset my failed attempts on successfull login. How do I do this with httpBasic ? So I need a failure handler and ...
0
votes
1
answer
83
views
Error using REST API Basic Authentication in Azure ADF
I am getting an error as below while using REST API POST method, Basic Authentication.
Error: Input is malformed. Reason: Could not get entity details for DandB Test. If this entity is a linked ...
1
vote
1
answer
185
views
Obtaining URL of page with basic authentication in Firefox
I have a page which requires Basic Authentication - for example https://authenticationtest.com/HTTPAuth/. What I want is to obtain the URL of this page before the users enter their credentials.
In ...
0
votes
1
answer
274
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
1
answer
557
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'...
0
votes
1
answer
46
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
66
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
342
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 ...
1
vote
0
answers
37
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
261
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
1
answer
693
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 ...
0
votes
0
answers
72
views
Authenticate to spring boot web server through desktop swing app
I have spun up a very basic spring boot app and implemented authentication. I can login to the page through spring boot's login page.
My security config is
return https.
...
0
votes
1
answer
72
views
Django Rest Framework APIClient login is not working
I have test function to test whether user can login or not. I am using DRF's APIClient and logging in. When I do a get request to a protected API endpoint I get 401 response.
I tried to print:
print(...
1
vote
1
answer
191
views
Extend user session time for Kubernetes Nginx Ingress basic authentication
I applied basic HTTP authentication for Kubernetes Nginx Ingress, and the authentication works fine: user should enter login and password before opening some required URL. When the web-browser is, let ...
0
votes
1
answer
1k
views
A problem in storage state and dependency features in Playwright
As a learner of playwright, I have a challenge with "dependency" and "storage state" features in playwright. I have two products that seems the login process is different on them. ...
0
votes
1
answer
366
views
Authenticate flutter app using website which has no API and OAuth
I have an app where I need to authenticate using other website.
Let me explain through scenario:
Website is for (for example: hashnode.com). btw I can't mention the website as its privacy matter.
It ...
0
votes
0
answers
399
views
Spring Security: Finding User For Authentication With Hibernate and Spring Data JPA
I'm a beginner with Spring Boot/Security. I'm having trouble getting a user from MySQL db for authentication with my custom login page.
I have configured my custom UserDetailsService class, and I'm ...
2
votes
1
answer
130
views
Single password authorization in Mojolicious
I want to implement single password authorization instead of Basic-Auth in Mojolicious.
I need the standard basic-auth field to be displayed, but to only ask the user for a password, without having to ...
0
votes
1
answer
187
views
How to Handle Basic Authentication Pop Up using testRigor
I need to perofrm some test for one website, but without vpn site requires Basic Authentication. How do i handle this using testRigor.
I looking for some setting where i can pass basic auth credentail ...
0
votes
1
answer
168
views
Exception managing personal outlook.com e-mail using EWS (migration to OAuth2 required?)
I have an app that I use to manage my e-mail account on outlook.com and send e-mail. The detail as to why isn't important, but it has been working for years without issue.
Importantly - this is for a ...
0
votes
1
answer
542
views
Basic Authentication Help in Cypress when Pop Up Only asks for Password
Trying to run a simple test in cypress, where I navigate to a test website. The issue is, the basic authentication that is involved, only asks for a password, no username, and I cant seem to get it to ...
0
votes
1
answer
315
views
WKWebView or WebView : How to render a basic auth challenge similar to how Safari does?
I've searched and have not found any answer that doesn't involved handling the credentials in webView(_:didReceive:completionHandler:)
My goal is to render the same auth challenge that occurs in ...
1
vote
1
answer
45
views
PHP CURL extended Basic Access Authentication Header
how can I combine ApiKey with Basic Authentication?
The API requires to pass ApiKeyby extending the Basic Auth Headers.
Actualy pass 2 more headers in basic auth (apiVersion & apiKey)
The manual ...