authorization Questions

7

I'm trying to download a private repository release using the browser_download_url that I got from the github API, but the URL is giving me 404 Not Found, I set up the Authentication : token <my...
Impedimenta asked 9/3, 2021 at 17:32

13

Solved

I have completed steps of authorization and obtained access token and refresh token. What should I do next to generate access token using refresh token that I have stored through google drive API?...
Overdye asked 17/5, 2012 at 6:42

2

I'm trying to make a request to Marvel API on Postman but I got Error code: 401 { "code": "InvalidCredentials", "message": "The passed API key is invalid."...
Trevortrevorr asked 1/6, 2021 at 13:10

4

Solved

My Asp.net core site required authentication by default services.AddMvc(config => { //only allow authenticated users var policy = new AuthorizationPolicyBuilder() .RequireAuthenticatedUser()...
Snowblink asked 5/4, 2016 at 16:43

11

Solved

The version I use is neo4j-enterprise-2.2.0-M02 My question is : How can I configure a user (like add a new user, change the password ,etc) in backend or browser, instead of REST API? Can I do it ...
Giefer asked 25/12, 2014 at 9:30

4

I'm using an authentication middleware that is making API requests to a third party service. This middleware then sets up the claims that are later handled by an AuthorizationHandler in conjunction...

9

Solved

I would like to generate POST request to a server which requires authentication. I tried to use the following method: private synchronized String CreateNewProductPOST (String urlString, String enc...
Elbertina asked 8/1, 2010 at 8:18

4

Solved

I have a cloud function in Node.JS on Google Cloud, I need to make GET request to Google and it requires an auth token. Using curl you can generate one using $(gcloud auth application-default print...
Persistence asked 4/11, 2021 at 17:39

4

Solved

I have a MVC4 web app with the following controller [Authorize] public class AccountController : BaseController { [AllowAnonymous] public ActionResult SignInRegister(LoginModel loginModel, strin...
Rufinaruford asked 2/7, 2013 at 15:39

3

Solved

I'm pretty new to Express/Node - I'm trying to figure out what the difference between Passport and JWT is but can't find a definitive answer? I know you can use one or the other for auth purposes i...
Cardiology asked 7/4, 2017 at 23:10

10

Solved

I make some gate like this: Gate::define('update-post', function ($user, Post $post) { return $user->hasAccess(['update-post']) or $user->id == $post->user_id; }); I checked my datab...
Accent asked 6/11, 2017 at 2:29

8

Is it possible to include multiple Authorization Headers in an HTTP message? Specifically, I would like to include one of Bearer token type (passing an OAuth access token) and one of Basic type (pa...
Isatin asked 26/3, 2015 at 15:31

6

Is it possible, using the fetch API, to set default headers for every single request? What I want to do is set an Authorization header whenever there is a json web token in the localStorage. My cur...
Baste asked 29/6, 2017 at 8:57

3

Solved

This is my initial setting for my mvc connecting with identity server. app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions { AuthenticationType = "oidc", SignInAsAuthent...
Shepherd asked 4/10, 2018 at 21:49

4

Solved

While working over a windows domain intranet site (with <authentication mode="Windows" />) I came across the following problem: [Authorize(Roles = "Domain Users, Domain Admins")] public clas...
Afghan asked 25/10, 2012 at 6:40

3

Solved

I want to connect to remote tracking server (http://123.456.78.90) that requires authentication When I do this: import mlflow mlflow.set_tracking_uri("http://123.456.78.90") mlflow.set_experime...
Schofield asked 24/11, 2021 at 15:30

5

I created a brand new ASP.NET MVC 5 project to test the [Authorize] attribute with FormsAuthentication.SetAuthCookie. I simply set a cookie in one action (in my Home controller): public ActionRes...
Lifegiving asked 28/10, 2014 at 16:23

4

Solved

I have spring security application in which want to enable annotations security (pre and post authorization). I also have small sample application in which i have implemented it already. Everything...

2

Question I'm designed REST API that is going to be used for iOS and Android apps, and possibly web and other mobile clients in the future. How do I restrict my entire API to only the clients (app...
Weinberger asked 7/5, 2015 at 6:6

3

Solved

Having a few minor issues with role based authorization with dotnet core 2.2.3 and Keycloak 4.5.0. In Keycloak, I've defined a role of 'tester' and a client role 'developer' with appropriate role m...
Forzando asked 27/5, 2019 at 14:15

1

Solved

Issue I'm working with an Angular v17 app configured in standalone mode, experiencing issues integrating with Keycloak libraries. Specifically, Keycloak isn't automatically appending the authorizat...
Dichromic asked 30/1, 2024 at 9:57

8

Solved

I'm not able to correctly handle CORS issues when doing either PATCH/POST/PUT requests from the browser sending an Authorization header with a Bearer token (this works correctly outside of the brow...
Erlond asked 14/4, 2020 at 20:57

2

Suppose my user logged in and I gave him 2 tokens ; access and refresh token access token is valid for 15 minutes and refresh token is valid for 1 week We don't want to give them only access token ...
Rie asked 14/11, 2021 at 22:15

6

Solved

Is it possible to apply authorization against two or more policies? I am using ASP.NET 5, rc1. [Authorize(Policy = "Limited,Full")] public class FooBarController : Controller { // This code doesn...
Big asked 24/2, 2016 at 18:1

2

How can I use AZ commands to create client secret the same way I can do it from the portal?

© 2022 - 2025 — McMap. All rights reserved.