Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devise::Models::Authenticatable::BLACKLIST_FOR_SERIALIZATION is deprecated #1474

Closed
shrik450 opened this issue Mar 15, 2021 · 6 comments
Closed

Comments

@shrik450
Copy link

shrik450 commented Mar 15, 2021

When posting issues, please include the following information to speed up the troubleshooting process:

  • Version: 1.1.5 (Reproduced with github master as well)
  • Request and response headers: N/A
  • Rails Stacktrace:
     DEPRECATION WARNING: Devise::Models::Authenticatable::BLACKLIST_FOR_SERIALIZATION is deprecated! Use  Devise::Models::Authenticatable::UNSAFE_ATTRIBUTES_FOR_SERIALIZATION instead. (called from <top (required)> at ...)
    
  • Environmental Info: N/A - unrelated to app.

See the change in the changelog: https://github.com/heartcombo/devise/blob/master/CHANGELOG.md

The issue is in https://github.com/lynndylanhurley/devise_token_auth/blob/master/lib/devise_token_auth/blacklist.rb.

@shrik450
Copy link
Author

PR #1473 is on this, but seems to require a devise update.

@MaicolBen
Copy link
Collaborator

This was merged to master

@TonyArra
Copy link

TonyArra commented May 5, 2021

@MaicolBen will there be a 1.1.6 release for this? Otherwise my project will have to monkey-patch it if we want to get rid of the deprecation warning

@regedarek
Copy link

temporary solution: gem 'devise_token_auth', github: 'lynndylanhurley/devise_token_auth', branch: 'master'

@shqear93
Copy link

shqear93 commented Jun 23, 2021

isn't fixed yet? is this released already?

@urbanrotnik
Copy link

Release for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants