All Versions
13
Latest Version
Avg Release Cycle
48 days
Latest Release
2768 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.1.1 Changes
February 11, 2017๐ Fixed
- ๐ฐ Stop trying to retrieve user from empty payload when no token is given
-
v2.1 Changes
January 31, 2017๐ Fixed
- ๐ Parsing of token controller to handle namespaces correctly
โ Added
- ๐ง Configurable default validations by adding
verify_options
parameter to AuthToken initializer
-
v2.0 Changes
October 23, 2016โ Added
- ๐ง Configurable unauthorized response by overriding
Authenticable#unauthorized_entity
โ Removed
- ๐ Deprecated features (see deprecated features in version 1.5)
- ๐ง Configurable unauthorized response by overriding
-
v1.5 Changes
May 29, 2016โ Added
- Exception configuration option
Knock.not_found_exception_class_name
- Multiple entity authentication (e.g. User, Admin, etc)
- Possibility to have permanent tokens
- โ Adding config options for exception class
- ๐
Generator for token controller. E.g.
rails g knock:token_controller user
๐ Changed
- ๐ Deprecated
Authenticable#authenticate
in favor ofAuthenticable#authenticate_user
- ๐ Deprecated use of
Knock.current_user_from_token
in favor ofUser.from_token_payload
- ๐ Deprecated use of direct route to
AuthTokenController
in favor of generating a token controller - No need to mount the engine in
config/routes.rb
anymore
- Exception configuration option
-
v1.4.2 Changes
January 29, 2016๐ Fixed
- ๐ Allow use of any or no prefix in authorization header.
๐ This fixes an unwanted breaking change introduced in1.4.0
forcing the use
of theBearer
prefix.
- ๐ Allow use of any or no prefix in authorization header.
-
v1.4.1 Changes
January 08, 2016๐ Fixed
- ๐ Use lambda for audience verification
-
v1.4.0 Changes
January 02, 2016๐ Changed
- ๐ Allow use of rails versions above 4.2
โ Added
- Travis integration
- Contribution guidelines
- URL authentication
- ๐ Allow use of different encoding algorithm
- ๐ฆ Expose
current_user
in the controllers without authenticating
๐ Fixed
- Audience verification in token
- ๐ Use lambda syntax compatible with older ruby versions
- โ๏ธ A few typos
-
v1.3.0 Changes
July 23, 2015โ Added
- ๐ง Configuration option for how the current_user is retrieved when signing in.
- ๐ง Configuration option for the handle attribute (email by default).
-
v1.2.0 Changes
July 16, 2015โ Added
- ๐ง Configuration option for how the current_user is retrieved when validating a token. (#1)
๐ Changed
- 0๏ธโฃ Use "sub" claim to store the user id by default instead of "user_id". (#1)
๐ Fixed
- Decode auth0_client_secret in default configuration for Auth0
-
v1.1.0
July 15, 2015