Coder Social home page Coder Social logo

andy-richardson / token-auth-service Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 34 KB

A microservice for session based authentication using JSON web tokens and Neo4j

License: MIT License

JavaScript 100.00%
nodejs neo4j microservice token-authetication

token-auth-service's People

Contributors

andyrichardson avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

token-auth-service's Issues

Promise not returned error.

Promise error produced when successfully updating token.

Likely related to returning a promise inside of middleware.

Warning: a promise was created in a handler but was not returned from it
    at Object.module.exports.createSession (/var/www/rendo-auth/model/user.js:81:12)
    at /var/www/rendo-auth/routes/auth.js:47:17
    at Layer.handle [as handle_request] (/var/www/rendo-auth/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/www/rendo-auth/node_modules/express/lib/router/route.js:131:13)
    at /var/www/rendo-auth/routes/auth.js:26:16
    at processImmediate [as _immediateCallback] (timers.js:383:17)
From previous event:
    at validateToken (/var/www/rendo-auth/routes/auth.js:16:6)
    at Layer.handle [as handle_request] (/var/www/rendo-auth/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/www/rendo-auth/node_modules/express/lib/router/route.js:131:13)
    at Route.dispatch (/var/www/rendo-auth/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/var/www/rendo-auth/node_modules/express/lib/router/layer.js:95:5)
    at /var/www/rendo-auth/node_modules/express/lib/router/index.js:277:22
    at Function.process_params (/var/www/rendo-auth/node_modules/express/lib/router/index.js:330:12)
    at next (/var/www/rendo-auth/node_modules/express/lib/router/index.js:271:10)
    at Function.handle (/var/www/rendo-auth/node_modules/express/lib/router/index.js:176:3)
    at router (/var/www/rendo-auth/node_modules/express/lib/router/index.js:46:12)
    at Layer.handle [as handle_request] (/var/www/rendo-auth/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/var/www/rendo-auth/node_modules/express/lib/router/index.js:312:13)
    at /var/www/rendo-auth/node_modules/express/lib/router/index.js:280:7
    at Function.process_params (/var/www/rendo-auth/node_modules/express/lib/router/index.js:330:12)
    at next (/var/www/rendo-auth/node_modules/express/lib/router/index.js:271:10)
    at urlencodedParser (/var/www/rendo-auth/node_modules/body-parser/lib/types/urlencoded.js:82:7)
    at Layer.handle [as handle_request] (/var/www/rendo-auth/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/var/www/rendo-auth/node_modules/express/lib/router/index.js:312:13)
    at /var/www/rendo-auth/node_modules/express/lib/router/index.js:280:7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.