lynndylanhurley / lynndylanhurley/devise_token_auth
Sign in using devise login
- Dominant language
- Ruby
- Stars
- 3.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I using login (username or email) to sign in to application, identical as here https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address
My POST it looks like it:
`curl -XPOST -H "Content-Type: application/json" http://localhost:3000/auth/sign_in -d '{"login": "reporter@domster.pl", "password": "Secret99"}'
`
Application show me this:
`PG::UndefinedColumn: ERROR: column "login" does not exist`
Contributor guide
Research direction
Start at the auth/sign_in endpoint and compare the requested username-or-email login behavior with the linked Devise wiki guide. Reproduce the POST request and trace the reported PG::UndefinedColumn error; done means the request accepts the documented login value without the missing-column error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, rails, ruby
- Domain
- api, authentication, backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100