Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

multiplio/cast-user

Repository files navigation

User login/get/logout

login & session service

Build Status

Routes

method route success failure comment
GET /ready 200 'ok' - kubernetes ready probe
GET /logout -> /login - delete user session
GET /auth/twitter -> twitter login - init twitter login
GET /auth/twitter/callback -> / -> /login twitter oauth callback
GET /identity 200 {displayName, profileImageUrl} 401 'Not Authenticated' -

Env

NODE_ENV=production
PROGRAM_ALIAS=login
PORT=7000

LOG_LEVEL=debug
LOG_FILE=false

EMAILER_ADDRESS=

COOKIE_SECRET=

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_CALLBACK_URL=

DATABASE_NAME=
DATABASE_PROTOCOL=
DATABASE_ADDRESS=
DATABASE_OPTIONS=
DATABASE_USER=
DATABASE_PASSWORD=