Top "Bearer-token" questions

Tokens are issued to clients by an authorization server with the approval of the resource owner.

Proper way to test authenticated methods (using bearer tokens) in C# (web api)

I have a Web API with tons of methods that all require a bearer token to be present in order …

c# unit-testing authentication bearer-token
Authorization type Bearer Token on Postman

I'm trying test a few endpoints using Postman. All endpoint, require a token which can be obtain by log-in. So …

authorization postman bearer-token express-jwt
Custom Bearer Token Authorization for ASP.Net Core

Is this an acceptable implementation of a custom bearer token authorization mechanism? Authorization Attribute public class AuthorizeAttribute : TypeFilterAttribute { public AuthorizeAttribute(): …

c# asp.net-core bearer-token asp.net-authorization
How to test Keycloak authentication in Spring Boot application?

In a Spring Boot project we enabled Spring Security and applied Keycloak authentication with bearer token like described in the …

security spring-boot automated-tests keycloak bearer-token
How to get bearer token passed through header in rails?

In my rails application I'm able to get the Token Authorization: Token token='aUthEnTicAtIonTokeN' passed in header of request with …

ruby-on-rails authentication bearer-token
InvalidOperationException: The AuthorizationPolicy named: 'Bearer' was not found

I am currently trying to learn how to build a secure api using bearer token, I keep getting this error (…

c# authorization asp.net-core-2.0 bearer-token
Where should I inject Bearer tokens into $http in AngularJS?

After the user's credential has been accepted I fetch the Bearer token [1] and update the default headers: $http.defaults.headers.…

angularjs authentication oauth bearer-token
Spring Boot Keycloak- Bearer-only - for backend service not working

I am trying to secure my rest api and frontend using Keycloak. Frontend is based on Angular 4. Backend is rest …

spring-boot keycloak bearer-token openid-connect keycloak-services
Yii2 Rest API Bearer Authentication

I've made a Yii2 REST API. With the API you can get a list of cars. Now I want to …

api rest authentication yii2 bearer-token
How to save JWT Token in Vuex with Nuxt Auth Module?

I am currently trying to convert a VueJS page to NuxtJS with VueJS. Unfortunately I have some problems with authenticating …

express authentication jwt nuxt.js bearer-token