Comments (2)
I don't believe that is a valid Authorization header, since it contains more than once credential. A client should send one of Basic or Bearer, but not multiple. If this is allowed by the spec, please provide me with a pointer to the documentation.
If the client was conformant, you could authenticate with:
passport.authenticate(['basic', 'bearer'], ...);
from passport-http-bearer.
Yes, seems You are right. I didn't find any documentation about that.
Sorry to disturb.
from passport-http-bearer.
Related Issues (20)
- MEAN.JS integration HOT 6
- Custom handling of response on failure HOT 4
- Custom 401 handler HOT 7
- App APIs using multiple accessToken passports HOT 2
- Optional authorization HOT 2
- Stops callback from running HOT 6
- is it possible to have a typescript definition file? HOT 6
- Is passing the bearer token in access_token still allowed?
- Bearer is removing attributes from req.body HOT 1
- Should passport-http-bearer read token from session cookie? HOT 1
- can I use this in a hapi.js project
- Token from the request body should force 'application/x-www-form-urlencoded' HOT 1
- Integration with passport-openidconnect
- Unable to send custom messages from passport.authenticate in route HOT 1
- unable to run TypeError
- Disable `access_token` in body and query string
- OAuth 2.0 : Can't provide none user data to callback HOT 3
- passport-http-bearer doesnโt work with NestJS: TypeError: Class extends value undefined is not a constructor or null at PassportStrategy HOT 1
- Bearer : when invalid token, done(null,false) returns an error HOT 5
- Is this project still actively maintained? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passport-http-bearer.