Skip to main content

Questions tagged [bearer-token]

Tokens are issued to clients by an authorization server with the approval of the resource owner. The client uses the access token to access the protected resources hosted by the resource server.

bearer-token
0 votes
0 answers
17 views

Unable to get an access token from a blazor web app

I am creating a blazor web app is using microsoft examples for authentication. Authentication works great, both with a username/password and with 3rd party (google) auth. I also have a maui native app ...
Ryan Langton's user avatar
  • 6,336
0 votes
0 answers
15 views

How to pass authorization header via Axios with OAuth token not Bearer token

I am trying to pass an access token header to a REST API server and is not working with Node.js Axios. This command works with curl: curl --location 'https://.../api/get-somedata' --header '...
KenKen's user avatar
  • 71
0 votes
1 answer
75 views

Azure Function App Authentication not working

I'm trying to secure a Serverless NodeJS Function App as mentioned in this example: https://docs.cloudera.com/dataflow/cloud/azure-functions/topics/cdf-azure-function-secure-app.html I set the ...
Ricardo Henrique Comar's user avatar
0 votes
0 answers
39 views

Expression evaluation failed. The message body is not a valid JSON. Error reading JObject from JsonReader

I am new to Azure and API Management. I have an OAuth resource from which I must get a token for every request. I am repeatedly getting 500 Internal Server Error, but I have finally root caused down ...
Scott Paulin's user avatar
-1 votes
0 answers
18 views

Facing 400 bad request error while passing JWT token as Authorization in header for rest api call

Getting 400 bad request error while passing the bearer token in headers using rest template call: JSONObject object = (JSONObject) new JSONParser () .parse (bindery.getValue(SamhttpConstants....
karthick sam's user avatar
0 votes
0 answers
24 views

How do I write the JSON to call an API token/create path and return a token?

I'm trying to create a Nintex Xtension that I can use to call /api/token/create to get the bearer token. I will use the bearer token as a variable to call the next web service. I just don't know how ...
Jenny's user avatar
  • 1
0 votes
1 answer
37 views

How can I using python "get" requests to access API responses with Bearer Token

I ran my codes below but get a response of "Error: 401 Status Code: 401; Unauthorized" def Pods_Assets(token): url = "https://api.aqmeshdata.net/api/Pods/Assets_V1" # ...
ggkinghan's user avatar
-1 votes
0 answers
40 views

If JWT are secure over HTTPS and HSTS is enforced then what are the ways the token can be stolen by the attacker? [duplicate]

I am confused if JWT are secure over HTTPS and HSTS is enforced, then why can't we send username and password in jwt. Will there be any chance of session hijacking if we send credentials in jwt ? If ...
The learner's user avatar
0 votes
0 answers
22 views

How to validate token in ASP.NET Web API 2 on .NET 4.8 , we are not using middleware

app.UseJwtBearerAuthentication( new JwtBearerAuthenticationOptions { AuthenticationMode = AuthenticationMode.Active, TokenValidationParameters = ...
Mukesh Anand's user avatar
1 vote
0 answers
34 views

I need to automatically attach authorization tokens to requests in Laravel

I need to create a middleware in Laravel that automatically attaches an Authorization header to requests in Laravel. The purpose is to allow non-authenticated users to access authenticated routes. ...
ThatGuy24's user avatar
1 vote
0 answers
92 views

How to handle a Bearer token in .NET 7 when a RSA security key is needed?

There is a existing .NET Framework application that creates Bearer token. Another existing .NET Framework code application is able to recognize the token for authentication and authorization. RSA ...
Daan's user avatar
  • 2,956
0 votes
0 answers
26 views

Get AWS Cognito user info from JWT bearer token

I have an AWS cognito user pool set up with an app client. When I analyze authenticated requests coming from my front end I can extract bearer tokens and decode them using jwt.io. For example I ...
MarkoPaulo's user avatar
0 votes
1 answer
47 views

Need to GET OAuth Token with just client id and no client secret and redirect url

I have configured an API and my client can only to pass client_id to get OAuth token back as a response. He can't pass client secret and no redirect_url. I tried with Implicit type and I see the below ...
Chris_dev's user avatar
0 votes
0 answers
25 views

Laravel Passport 401 Unauthenticated Error

I have an api for my software that an RPA process hits each day. It's been working fine, but all of a sudden on 5/24, the process started getting a 401 error. I have a team in India that's built the ...
hyphen's user avatar
  • 3,104
-2 votes
1 answer
71 views

Jwt Bearer token is invalid in ASP.NET Core Web API

I get: WWW-authenticate: Bearer error="Invalid_token"
barabasizalan's user avatar

15 30 50 per page
1
2 3 4 5
100