simple_token_authentication
simple_token_authentication copied to clipboard
Simple (and safe*) token authentication for Rails apps or API with Devise.
This PR adds support for Rails 7.
Given than rails 7 has released an alpha version, is rails 7 support coming to simple_token_authentication soon?
Looking for feedback on the implementation and if this is functionality that would be desired in the main repository. In the case that is, I will need to extend the...
I have a simple model: ``` class User < ApplicationRecord acts_as_token_authenticatable validates :service, presence: true, uniqueness: {case_sensitive: false} validates :authentication_token, presence: true, uniqueness: true end ``` Testing this fails because...
I would like to use only user_token for authentication. user_email is not necessary for me, but I could not find a way to configure this. Can anyone help?
Same PR as https://github.com/gonzalo-bulnes/simple_token_authentication/pull/333 but more recent Do not use a blank implementation for hooks that would override exiistng ones if they were declared before the acts_as_token_authentication_handler_for method (eg. via...
Until now, the only official place for the community to interact was [Issues](https://github.com/gonzalo-bulnes/simple_token_authentication/issues). The newly introduced [Discussions](https://github.com/gonzalo-bulnes/simple_token_authentication/discussions) space is a better place to ask for support and to suggest or...
## How to handle the initial sign in using devise? I know this question has been asked many times before (#185, #276), which means I am not the only one...
Many cases it seems a password change should generate a new token.