Comments (2)
Hey, I'm also looking for an answer. I also find that the problem was caused by the missing header WWW-Authenticate: Basic
. So, the browser doesn't open the dialog for information.
Also, AWS Lambda or Http Integration remapped the WWW-Authenticate
header. You can read here.
Also, you can follow that.
This looks like a solution but is still a temporary and bad solution.
So, you must do basic auth
on the HTTP layer in aws.
Also, there is another reading for how you should do basic auth
in AWS Serverless.
from express-basic-auth.
See @kmluns answer, seems to be out of scope for this middleware.
from express-basic-auth.
Related Issues (20)
- TypeError: "string" must be a string, Buffer, or ArrayBuffer HOT 4
- Require hashes instead of plain text passwords HOT 2
- How to pass additional data from myAsyncAuthorizer() to req.auth? HOT 3
- Allow previos authentication middlewares. HOT 1
- Using express-basic-auth with router ? HOT 3
- Can express-basic-auth be used with jwt? HOT 1
- unAuthorizedResponse does not work returned blank response
- Blank page in safari when pw contains ! HOT 1
- LICENSE HOT 2
- Custom authorizer is not called without Authorization header HOT 2
- TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received undefined HOT 3
- 401 responses MUST have a `WWW-Authenticate` header.
- Add the UTF-8 `charset` `auth-param`. HOT 2
- Add login request on authorizer HOT 1
- feature request - set auth username on request object. HOT 1
- Authorization without data, just press "cancel" HOT 1
- [BUG] error TS2688: Cannot find type definition file for 'express'. HOT 2
- Backoff retry algorithm HOT 1
- [Question] safeCompare function HOT 2
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 express-basic-auth.