unauthorized Questions

2

I had an ASP.NET Core 2 web app without Identity Server where I configured the automatic challange of unauthenticated HTTP requests to not redirect the user to the login page and just return 401 in...
Arrivederci asked 15/10, 2018 at 8:50

10

On the server, Nginx is installed. Let's Encrypt is working well with www.domain.com but is not working with static.domain.com With PuTTY, when I enter : sudo letsencrypt certonly -a webroot --web...
Merlon asked 21/3, 2017 at 16:49

43

Solved

Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fine before reinstallation. ...
Sheepshank asked 15/4, 2014 at 10:39

15

Solved

Copy/pasting my username and password into the Docker Hub website works fine. The password is long, but does not contain shell-breaking symbols. Copy/pasting those same credentials into command-l...
Followthrough asked 29/11, 2016 at 17:55

6

Solved

I'm trying to interact with Keycloak via its REST API. I have the master realm and the default admin user, and a test realm. Firstly, I get an access token for the admin account and test realm: le...
Enedina asked 23/10, 2017 at 5:41

8

I am trying to use spring-security-oauth2.0 with Java based configuration. My configuration is done, but when i deploy application on tomcat and hit the /oauth/token url for access token, Oauth gen...
Aberrant asked 12/11, 2014 at 7:17

3

Solved

I'm developing ASP Core Web API using dotnet core v3.1. I'm using JWT tokens for authentication. And for authorization I use the [Authorize] attribute. How can I create my own response if the user ...
Crispen asked 26/9, 2020 at 21:17

1

Solved

Context I'm having some trouble with my application. We're using Spring Boot 2.4.10 and Spring Security 5.4.8. We use cookies to interact with the app. We have a frontend application stored in src/...

11

Solved

I have read a lot of topics in stackoverflow for solve my problem, but none was useful. When I tried to log in Manager App ([http://localhost:8080/manager/html][1]) using a lot of different configu...
Amandy asked 21/5, 2013 at 13:54

3

Solved

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 ...

7

Solved

I overrides the class to perform custom Authorization [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public class AuthorizeAttribute : ...
Nodular asked 11/8, 2011 at 7:22

24

Solved

Configuration: Windows 8.1 ADB version: 1.0.32 Smartphone: Oneplus One Problem I installed the Samsung drivers as it is said to do. When I run the ADB devices command, it said unauthorized. A...
Hennie asked 26/7, 2015 at 15:12

4

I have implemented my own custom authentication middleware and handler, and configured them in the app startup. This is all working fine. In my custom auth handler where I have overriden HandleAut...
Doubletongued asked 16/5, 2017 at 20:1

1

I'm developing an app with django and when I try to use auth0 for the login I get: "error": { "message": "Grant type 'authorization_code' not allowed for the client.", "oauthError": "unauthorize...
Macon asked 2/4, 2020 at 5:41

5

Solved

I have an MVC website in which access is based on various Roles. Once a user logs into the system they can see navigation to the pages for which they are authorized. However, some users may still t...
Dippold asked 27/2, 2014 at 16:27

1

I am using Identity server 4 in my Asp.net core API Application , i am getting successful token on local server https://localhost:[port]/connect/token and it gives access token and when i use the...

3

I have opened a 3rd party XSD file in Visual Studio 2010 that imports namespaces from other schema files from the same 3rd party. In the XML editor view of the schema file, the xs:import element is...
Antipater asked 28/6, 2010 at 16:47

7

I'm trying to use a batch file with WGET to download the public FCC file from here http://wireless.fcc.gov/uls/data/complete/l_micro.zip When I intially run the batch file with parameters wget -...
Chirurgeon asked 8/2, 2012 at 21:3

3

Solved

When I try sending email using the EWS API, I get the following error: (in message.Send();) The request failed. The remote server returned an error: (401) Unauthorized. My code is the followin...

2

Solved

As shown in image when i am trying to run https://www.example.com/Push_Order.php?orderId=1562 It gives me 401 Unathorized error. But when I run this Url in browser it run well. Any Idea where is m...
Horvitz asked 3/5, 2016 at 13:27

4

I have been trying to prevent the redirect when I return an NotAuthorized IActionResult from a Controller, but regardless of my attempts, NotAuthorized gets translated to a Redirect. I have tried ...
Westnorthwest asked 13/1, 2016 at 15:42

6

Solved

i have a project using ASP.Net MVC3 and using membership for roles. i use authorize in every controller. eg: [Authorize(Roles = "Administrator")] public ActionResult Index(string q, int i) { r...

6

Solved

For my website i want following behaviors for secured controller(or action) if a user makes a normal request redirect to login page (which i have easily able to do) if request is Ajax type Reques...

4

I'm very newbie in AngularJS, and now spending 3 days in finding a way to handle 401 status. I've tried interceptors, using $http, using $resource...but nothing is working. My app calls JSONP call ...
Eruptive asked 6/9, 2013 at 22:52

3

Solved

I'm developing an ASP.NET MVC 6 Web API app, with AngularJs frontend. When I leave a session to decade, or I'm trying to call a Web API action unauthorized, I expect to receive a 401 status code. ...
Haskell asked 7/10, 2015 at 11:3

© 2022 - 2024 — McMap. All rights reserved.