3,326 questions
Best practices
0 votes
0 replies
26 views
Where should I put http basic auth delegate methods, which are shared among a couple of view controllers?
I am wondering where I should put http basic auth delegate methods in my xcode project, given the conditions below. xcode 14.0 objective-c it has a tab bar controller, which has four view controllers....
1 vote
2 answers
54 views
Spring Boot application (Thymeleaf) with password protection for some URLs and public access for some others
I'm working on a Spring Boot application packaged as JAR, with Thymeleaf templates too. I have these URLs: /app/endpoint : REST API with several request mappings with JSON output. /app/login : ...
5 votes
1 answer
170 views
Basic Auth credentials ignored in Chrome after the first auth attempt
I've been debugging for several hours an issue with one of my web applications that actually seems to be browser-dependent. The issue was that if a user logged in with the "wrong" ...
-2 votes
1 answer
214 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
118 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
125 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
232 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
243 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
52 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
120 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
73 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
338 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
1 answer
220 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
343 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
153 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 ...