Sign inSign up

rhalff/authumn-user

By rhalff

•Updated over 8 years ago

Authumn User Service

Image
0

1.3K

rhalff/authumn-user repository overview

⁠Authumn User Service

Handling of registrations and logins.

This service is meant to be run behind the Authumn Gateway⁠.

And solely used to handle logins and registrations.

⁠Installation
$ npm i 
⁠Start
$ npm start 
⁠Docker

The following environment variables can be configured:

NameTypeDescriptionDefault
CLIENT_IDStringClient idauthumn
MONGO_URLStringMongo Databse Connection Urlmongodb://localhost/authumn
WHITE_LISTStringCors whitelisthttp://localhost,http://test.com
JWT_SECRETStringJWT Secret to sign the tokenschange_me
REDIS_HOSTStringRedis host of the token serverlocalhost
REDIS_PORTStringRedis port of the token serverlocalhost
REDIS_DATABASEStringRedis database of the token serverlocalhost
⁠API

Post() http://localhost:3000/user/login: Login with username and password

Post() http://localhost:3000/user/register: Register with username, email and password

Tag summary

Content type

Image

Digest

Size

51.5 MB

Last updated

over 8 years ago

docker pull rhalff/authumn-user