https://github.com/mebohq/example-auth
BasicAuth example using passport
https://github.com/mebohq/example-auth
auth example expressjs mebo passport
Last synced: 2 months ago
JSON representation
BasicAuth example using passport
- Host: GitHub
- URL: https://github.com/mebohq/example-auth
- Owner: meboHQ
- License: mit
- Created: 2018-08-09T07:04:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T06:47:35.000Z (almost 8 years ago)
- Last Synced: 2025-09-20T11:55:22.330Z (9 months ago)
- Topics: auth, example, expressjs, mebo, passport
- Language: JavaScript
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Example about running an action through the auth support
Running example:
```
git clone https://github.com/meboHQ/example-auth.git
cd example-auth
npm install
NODE_ENV=development node .
```
## Requirements
- Node 8 or greater
- Express 4 or greater
## Action
Authentication using basic-auth strategy
`GET: http://localhost:8080/api/sum?a=1&b=2`

*running on [postman](https://www.getpostman.com)*
## Licensing
Mebo is free software; you can redistribute it and/or modify it under the terms of the MIT License