sebfie / devise_token_auth_multiple_model_issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Standard Rails app

To reproduce the bug :

bundle exec rake db:seed
POST http://localhost:3000/auth/sign_in?email=test%40example.com&password=test

## Request
curl -X "POST" "http://localhost:3000/auth/sign_in?email=test%40example.com&password=test"


get auth headers and pass it to :

GET http://localhost:3000/welcome/index

## Request Duplicate
curl "http://localhost:3000/welcome/index?email=test%40example.com&password=test" \
     -H 'access-token: ACCESS_TOKEN_SIGN_IN' \
     -H 'client: CLIENT_SIGN_IN' \
     -H 'expiry: EXPIRY_SIGN_IN' \
     -H 'uid: test@example.com' \

Devise token auth are missing

About


Languages

Language:Ruby 83.4%Language:HTML 9.3%Language:JavaScript 5.9%Language:CSS 1.1%Language:SCSS 0.3%