devise-token-auth Questions
4
Solved
NoMethodError: undefined method `current_sign_in_at' for #User:0x000055ce01dcf0a8
I think it is a session method error of some sort
I have an angular6 app for frontend and rails for backend, so ...
Goraud asked 17/4, 2019 at 21:0
1
I have inherited a Ionic app which uses ng-token-auth+devise_token_auth to handle the authentication and the session between front and back.
What happens is quite strange. Sometimes (specially wit...
Pastiche asked 8/12, 2015 at 0:8
1
This is my problem, I override the controllers for an User model:
mount_devise_token_auth_for 'User', at: 'auth', controllers: {
registrations: 'v1/authentication/registrations'
sessions: 'v1/au...
Sidesaddle asked 8/4, 2016 at 17:35
3
Solved
Made a new API in rails 5 using default --api tag and installed devise_token_auth gem using command
rails generate devise_token_auth:install User auth . On doing rake:db:migrate, I get this error u...
Captor asked 11/4, 2019 at 7:10
0
We have recently encrypted all our auth_tokens in the users table. I have modified the authenticate_user_from_token! in ApplicationController to encrypt the params[:auth_token] before comparing in ...
Lour asked 26/2, 2018 at 23:47
1
Solved
I'm writing an application that will primarily be accessed via API, but will also have views for editing via web app.
I would like to create a User model with authentication and authorization acro...
Knew asked 17/11, 2017 at 18:46
1
I'm using devise and devise_token_auth along side each other. I have an Ionic 2 application that I'm attempting to login via Facebook with. Right now, the email/password authentication is working f...
Hornbeam asked 5/9, 2017 at 22:25
1
© 2022 - 2024 — McMap. All rights reserved.