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.
Questions tagged [bearer-token]
1416 questions
-2
votes
1 answer
New at Twitter API V2
I wanted to start learning about Twitter API V2 so, I created a developer account and created my first app. I saved the api key, api key secret and my Bearer token.
But when I tried the example in the documentation in my terminal it didn't…

wolfwood
- 1
- 2
-2
votes
1 answer
How to add Bearer token to a request in ASP.NET CORE
I have an API secured by Bearer token to be consumed in a mvc project. I'm using ClientFactory to call the API in mvc. I get the generated token from WeatherForecast [HttpGet] method and use it to to access the Authorized PlayerController methods.…

ahamad zooghi
- 67
- 1
- 8
-3
votes
2 answers
How to get user details from bearer token laravel api
I can'understand how can I do so Please help me to find a solution
$response = $client->request('POST', '/api/profile_update', [
'headers' => [
'Authorization' => 'Bearer '.$token,
'Accept' => 'application/json',
…
-3
votes
2 answers
How to get the bearer token from a webhook Ruby on Rails
I receive datas from webhook and I try to get the Authorization Bearer token that is in the headers
I tried :
data = JSON.parse(response.body)
puts "TOKEN " + data['csrf-token']['content']
Also :
if headers['Authorization'].present?
puts "…

Dam76
- 15
- 4
-4
votes
2 answers
Calling an API which needs a Bearer Access Token
I am trying to call an API which I have been instructed:
This is expecting an Authorization header: Bearer Access Token.
I have the Bearer Access Token, and have tried via Postman, and via C# using WebRequest, to no avail.
Within Postman I have…

andrewb
- 2,995
- 7
- 54
- 95