http-status-code-401 Questions

4

I am having a project using Spring Boot and Spring Security. Spring Security validate the header with the session id for every request. If the session id is invalid or expired, an error code 401 wi...

8

Solved

I'd like to send a 401 Unauthorized AND redirect the client somewhere. However: if I do it like this: header('HTTP/1.1 401 Unauthorized'); header('Location: /'); the server sends a 302 Found wi...
Chrisman asked 8/1, 2012 at 5:24

2

Good day, I have been trying to setup Clerk on Next lastest version with the app the App router. I have went through the well written docs and it seem pretty straighforward to setup so I gave it a ...
Tubate asked 8/6, 2023 at 3:57

4

First time to write a Cypress (cypress Io framework) auto test for internal website (http://XXXX:8089/). The access of this website homepage requires special permissions by using active direc...
Glucoprotein asked 19/6, 2018 at 19:8

19

I am using IIS Express to deploy MVC4 application. This website runs perfectly on same computer. But in Lan it gives me error 401. <authentication mode="Forms"> <forms loginUrl="~/" sli...

22

Solved

For a web page that exists, but for which a user does not have sufficient privileges (they are not logged in or do not belong to the proper user group), what is the proper HTTP response to serve? ...

1

Our web application has user/password authentication. It runs on a web server which is secured itself with HTTP Basic Auth. This is just a temporary solution / workaround. The web application's aut...

4

Solved

I'm trying to make an API call to OpenWeatherMap. When I execute flutter run in the terminal, the response.statusCode prints 401 which is code for Invalid API Key, although I have generated t...
Suchlike asked 17/6, 2022 at 3:1

9

I want to check if a page returns the status code 401. Is this possible? Here is my try, but it only returns 0. $.ajax({ url: "http://my-ip/test/test.php", data: {}, complete: function(xhr, s...

4

Whenever I try to assign a route from my api.php File I get a 401: Unauthenticated-Error. This is the route: Route::group(['prefix' => 'v1', 'middleware' => 'auth:api'], function () { Rout...
Addis asked 20/3, 2017 at 19:8

7

When I try to clone a tfs hosted git repo http://tfstta.com:8080/tfs/DefaultCollection/_git/SampleTFSGit from my linux machine, I face the Authentication not supported error: org.eclipse.jgit.ap...

6

Solved

I have one file request.js which contains wrapper for axios ajax request. I am calling request function from multiple react components and when one of the request fails I want to refresh the token ...
Atomics asked 10/11, 2017 at 5:52

5

Solved

With Spring Boot 1.5.6.RELEASE I was able to send HTTP Status code 401 instead of 403 as described in How let spring security response unauthorized(http 401 code) if requesting uri without authenti...

1

Solved

I have an issue while trying to publish a java library (jar) to an AWS CodeArtifact Maven repository. I get HTTP Status code 401 (unauthorized) when I try to publish it. Which would indicate that I...

1

Solved

So I am working on my first full-stack application (spring boot rest API and Vue.js frontend) and I came across a problem by using sonarqube. My sonarqube gives the following warning: Make sure dis...
Disciplinarian asked 25/4, 2021 at 20:44

4

Solved

I have a web application with a Javascript part running on the browser. That frontend uses several HTTP endpoints (more or less REST). The frontend must be able to distinguish between 401 and 403 r...
Chapa asked 23/1, 2018 at 18:31

5

i want to allow access to Anonymous.aspx page to all user, i have set Basic Authentication to Enabled, and Connect as to specific user. my problem is when trying to access http://MyIPAddress/MyAli...

4

Solved

OK, here is the 7th day of unsuccessfull attempt to find an answer why 401 error appears... Now, .htaccess in the root folder contains the only 3 strings (was simplified) and there are NO more .h...
Stickle asked 11/2, 2012 at 9:7

5

Solved

I’ve got a situation with a large internal corporate web based application running ASP.NET 3.5 on IIS6 generating 401 “Unauthorised” responses followed by 200 “Ok” responses (as profiled by Fiddler...
Sheba asked 29/3, 2009 at 5:16

3

I hope you can help me with my problem. Currently I build a PWA with a service-worker. It registerd successful, but something is wrong with the installation. The "caches.open"-promise result in a...

5

Solved

Is there a way to rebuild the applicationHost.config file in IIS 7 with a Windows command? Or if you can help me fix the issue by modifying this file, that's fine too. When comparing this file to o...

3

I have a logic app that executes a workflow by calling Azure Functions in a certain order. It was working fine for a few days, but recently it stopped working. In logic apps run (on Azure Portal) i...
Multiplication asked 5/12, 2018 at 10:14

5

My requirement is to load some data by calling Two Rest Api's before app component loads.If API gives any error display the message in Toaster (angular2-toaster). Before loading app component the ...
Supermundane asked 20/7, 2018 at 13:47

9

So I've created a new ASP.NET MVC project using the intranet template. web.config contains the appropriate values (e.g. <authentication mode="windows"/>). If I fire up the web app using the ...
Expectorate asked 12/9, 2011 at 11:28

3

Solved

I'd like to send a response code of 401 if the requesting user is not authenticated, but I'd also like to redirect when the request was an HTML request. I've been finding that Express 4 doesn't all...
Meiny asked 7/4, 2015 at 0:19

© 2022 - 2024 — McMap. All rights reserved.