Coder Social home page Coder Social logo

mouzayan / dreamboat Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 10.71 MB

Dreamboat is a gamified dating app where a mystery user gets to field potential catches by vetting their personality traits.

Ruby 52.15% HTML 2.28% CSS 12.60% JavaScript 32.97%

dreamboat's People

Contributors

mouzayan avatar

Watchers

 avatar  avatar

dreamboat's Issues

Authorization Bcrypt Issue

Unexpected Behavior
When I attempt to login with an existing user, a jwt token is not populated.
When I register a new user, I can see the new user created in the backend, but that info is not transferred to the backend.

Expected Behavior
I expect to be able to login when I sign on as a registered user.

Reproduce the Error
Login with an already registered user, or register a new user and try to login.
No ability to login.
Check the developer tools for a JWT token in Application. There will not be an auth token.
In terminal, run User.all, you will see a recored of the newly registered user.
The error in the console says
"POST http://localhost:3000/auth/login 40 (Unauthorized)"
"Uncaught (in promise) Error: Request failed with status code 401"

Attempted Resolution
I have looked at the links below and am not able to resolve the issue.

  1. https://stackoverflow.com/questions/49871761/http-localhost3000-users-profile-401-unauthorized
  2. https://community.auth0.com/t/request-failed-with-status-code-401-unauthorized-when-trying-to-get-userinfo/7542

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.