bearer-token Questions

3

Solved

I wanted to generate Azure token from Postman for API authorization in my project. I am able to generate token using below API request but getting the below error message "Authorization denied for ...

3

I am writing tests for endpoints which requires bearer token authentication, but I am getting errors trying to pass authentication errors to HTTP methods like client.post(url,data,**auth_header) I...
Torrell asked 17/1, 2019 at 18:55

4

Solved

I am building a system that uses API tokens and keys to access services, but where is the best place to store them? I want to push the code to GitHub without pushing the tokens. Currently, I've pla...
Merrile asked 11/7, 2019 at 18:30

4

Solved

I have a Web API with authentication enabled (bearer token). This is called by a client application and I want to protect it from anonymous usage so I would like to create a single user and create ...
Tortricid asked 10/9, 2014 at 11:53

3

Solved

I'm making an authorization system in PHP, and I came across this Bearer scheme of passing JWT tokens, I read [RFC 6750][1]. I've got the following doubts: How is this improving the security? The ...
Pandich asked 14/11, 2016 at 5:3

2

Today I was checking if I can migrate my app to .NET 8. At first everything was ok by when I tried to log in, I get following error in the console: Failed to validate the token. Microsoft.Identity...
Ligialignaloes asked 20/11, 2023 at 10:49

4

Solved

I'm learning something about Authorization like Basic, Digest, OAuth2.0, JWTs, and Bearer Token. JWTs are used as an Access_Token in the OAuth2.0 standard. JWTs appears at RFC 7519, and Bearer Toke...
Leicestershire asked 2/11, 2016 at 8:38

9

Solved

Hi what trying to achieve is to get bearer token that submited from front end in java spring boot RESTApi controller and do another request using feign client to another microservices? here is what...
Kellikellia asked 26/11, 2020 at 10:5

3

Solved

I am pretty new to the Prometheus and not sure how I am going to ping the endpoint with authentication. Not sure my problem could be solved by built-in prometheus configs, let me describe the flow ...

10

Solved

For the first time I'm creating Authorization in ASP.NET Core. I used tutorial from here TUTORIAL The problem is when I sending request from postman: Authorization:Bearer eyJhbGciOiJIUzI1NiIsInR...
Gemstone asked 23/4, 2017 at 17:52

4

Solved

I have updated my project from Core 1.1 to Core 2.0 using instructions from https://blogs.msdn.microsoft.com/webdev/2017/08/14/announcing-asp-net-core-2-0/ (updated target framework to .NET Core 2....

3

Solved

I've generated a Python client library for this API by using the online Swagger Codegen at https://generator.swagger.io/. The API uses Bearer authentication: openapi: 3.0.0 ... paths: /sandbox/r...
Jarrett asked 13/9, 2019 at 8:35

4

For uploading files to google cloud buckets, i'm using JSON API. for that i crated a Bearer Token by using following commands $> gcloud auth activate-service-account [email protected] --ke...
Ana asked 16/5, 2018 at 12:16

6

From the development in Windev I use Oauth 2.0 for authorization to get access to the outlook mail from a user. The application is registered at https://apps.dev.microsoft.com without the Implici...
Spiro asked 27/3, 2018 at 12:40

2

In my API project I am handling authentication with JwtBearer (users login using Azure). When the API is called the token is being validated with the defined Azure instance and this all works fine....
Ciapas asked 8/6, 2018 at 8:28

4

Solved

I have a web application that must send a B2C Bearer token to the API in order to get authorization. I achieve this by using MSAL, everything works great till I restart the web application, as soon...

3

Solved

I am using System.IdentityModel.Tokens.Jwt package and the below code decoding the jwt token, but it won't give exp value? var handler = new JwtSecurityTokenHandler(); var decodedValue = handler....
Alexander asked 27/1, 2022 at 13:28

6

Solved

I searched for other questions in this topic but i found not an answer to exatly this. So tell me if i'm wrong. I'm new in this topic and you can correct me with pleasure. Here is what i think at t...
Pennant asked 3/7, 2015 at 14:49

3

Solved

Using using Microsoft.AspNetCore.Authentication.JwtBearer; I have been unable to figure out how to change the "Bearer " key in the header to something else, in this case I'd like it to be "Token "....
Windsail asked 2/7, 2019 at 18:3

2

I am trying to pass authorization header using Documentation page, similar to this page: Since, the documentations are automatic generated in Fast API, I am having hard time trying to figure...
Offload asked 31/1, 2022 at 12:51

5

Solved

I've seen similar threads to this issue, but I had no luck solving it. LogIn worked successfuly but when I try to GET data of the user loggedIn in my home page I receive this error 401 Unauthorized...
Waterer asked 21/4, 2019 at 8:7

1

Solved

Here is my backend code. It has 2 protected routes. Authorization Header is needed (Bearer token). These routes allows you to download your photo and your cv. I have no issue with my backend. It ...
Makell asked 10/6, 2022 at 13:48

2

Solved

I'm learning about Basic Authentication and Jwt Authentication with Java and Spring and I want to ask you if basic authentication is a session based authentication? I know that in a session based...
Kep asked 20/1, 2020 at 19:14

5

I am new to using Rest Assured,Java and Api testing so please be gentle with me. When I use rest assured to test an api that uses Bearer authentication the tests fail resulting in:- java.net.Conne...
Rallentando asked 14/3, 2017 at 15:25

1

Solved

I have seen different solutions when building JWT-based authentication systems between react and node. There are many examples, and many of them use different headers. What is the difference betwee...

© 2022 - 2024 — McMap. All rights reserved.