Konstantin
Konstantin
This is **Devise issue**, but not the gem. And this is a [Stack Overflow](https://stackoverflow.com/questions/24148723/undefined-method-devise-for-user) question. ActiveRecord ORM was hard coded inside of the gem before. Now you must follow by...
Question. Is the life cycle of the current version coming at the end and to go further new version of this gem should be released with reconsidering workflow, rspec, resolved...
I think the reason is that `access-token` header with empty value is returned in the batch mode. Clients, e.g. `ng-token-auth` awaits the same `access-token` value in each batch server responses....
@MaicolBen I think we should. Response is returned with `Cache-Control` header equals `max-age=0, private, must-revalidate`. We may use `Cache-Control` [header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching). And replace this code: https://github.com/lynndylanhurley/devise_token_auth/blob/470c84beabff3ca59c239abe900d43d7750d0d6a/app/controllers/devise_token_auth/concerns/set_user_by_token.rb#L165-L171 by something like this: ```ruby...
@MaicolBen It doesn't look difficult. But it should be covered with tests with consider browsers behaviour which described in #702. I will back to the issue if I have an...
@MaicolBen >I am planning to make change_headers_on_each_request disabled as default in 1.1.0 If you do it I suspect that user will log out right after the expiration of a token...
> You answered the question, the server will expire after the token lifespan has passed. I meant a little different. I think it is possible add accessory action like `reissue_token`...
Hello. You [need generate](https://devise-token-auth.gitbook.io/devise-token-auth/config/initialization) `Devise` config file with ```console rails generate devise:install ``` And specify `orm` you want to use in `devise` config file. If you don not have that...
`devise` gem and `devise_token_auth` gem do not support rails `6+`. You can found tests [here](https://travis-ci.org/lynndylanhurley/devise_token_auth/builds/516601358). `dta_find_by` was implemented only in the last version of the gem. Try to use rails...
So, please someone of @asanger or @Jellyfishboy provide here: `Gemfile` `model/user.rb` `config/initializers/devise.rb` `config/initializers/devise_token_auth.rb` I will check your configuration. To solve your issue right now, try this in your `user.rb` model:...