basic-auth icon indicating copy to clipboard operation
basic-auth copied to clipboard

Add HTTP Basic Auth support to your Meteor application

Results 8 basic-auth issues
Sort by recently updated
recently updated
newest added

In Meteor 1.3 it just doesn't do anything when I add: ``` const basicAuth = new HttpBasicAuth("user", "password"); basicAuth.protect(['/myroute']); ``` to `routes.js`. I can still access URL without need to...

Hi there, I want to protect "/" but certain paths shall be accessible without a passwort. How can I realize that?

After successfully authenticating I get a `Uncaught ReferenceError: HttpBasicAuth is not defined` on my client console and it will not let me load any routes. I just copied and pasted...

Hello How do run specs with this module? what i do doesn't work (infinite wait): if(typeof jasmine == 'undefined') { console.log("SPEC IS NOT RUNNING"); var basicAuth = new HttpBasicAuth(function(username, password)...

Hi there slightly newb question but is it possible to protect all children pages of a parent route that uses a collection eg: `basicAuth.protect(['/parent/*']);` (this obviously doesn't work)

Hello, does this work with Digest Auth, too? If not, do you know any possibilities on how to access a WS with Digest auth in meteor? Best, David

Hi, I used Rest api for create posts. in my curl I used "-u appid:tokenapp" I want get values of my appid and tokenapp in my route. Router.route('/api/posts', function ()...

for this constructor: var basicAuth = new HttpBasicAuth("guest", "password", "My Realm"); basicAuth.protect(); Only the constructor carrying the callback together with the realm works