Code Monkey home page Code Monkey logo

james-auth's Issues

JWT NOT WORKING

jwt issue

JWT Always Unauthorized and when I console.log(JWTPayload) on passportStrategy.js file nothing showing

Hi, could you help me with a GET function?

hello, im using the james auth in a self project based on roles and authentification, the wiki and inner comments are fine but the get method that are already used is short, i mean, the function give me a name, or whatever information from the main user table, but if i want to show others tables or multiple tables, how could i do it in this case?
You really help me so much if i could read a basic get function, to give me data from mysql

sorry for my english, isn't native.

Greetings.

Issue with posting new user to database

I am running through the tutorial on your site and am getting stuck about half way through.
I am on the second part, just finished up the page controllers/authController.js. I then used postman and went to create a new user and it just stalls. Postman can not do anything with the request. I also created a form on a standalone page that uses a post request to /api/register(I switched it from sign-up in my case).

It seems to be missing the table in the database? Do you have any guidelines on creating a users table in the MySQL database or is this something sequelize should be doing and it just isn't working for me, in the models/user.js file, perhaps?

Any help on this would be appreciated, I'm loving your tutorial so far.

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.