Remix Auth Versions Save

Simple Authentication for Remix

v3.0.0

2 years ago

What's Changed

  • New abstract Strategy class instead of an interface.
  • The verify callback strategies receive is now part of the Strategy class types
  • The verify callback now receives a single object as argument, the type comes from the Strategy class generics.
  • The strategies authenticate method receives a throwOnError option, if defined it will throw an AuthorizationError instead of a 401 response in case of errors and if failureRedirect is not set.
  • The strategies authenticate method receives a sessionErrorKey where it will set the error message in case of a redirect. It defaults to the auth:error key.
  • The Authenticator now receives the throwOnError options upon instantiation (optional) and allow it as option in the authenticate method to overwrite it, useful to enable it by default.
  • The Authenticator now receives the sessionErrorKey and defaults to auth:error.
  • Don't export the strategies with the package, but keep the code until they are on a different package.

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.6.0...v3.0.0

v2.6.0

2 years ago

What's Changed

Other Changes

New Contributors

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.5.1...v2.6.0

v2.5.1

2 years ago

What's Changed

Other Changes

New Contributors

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.5.0...v2.5.1

v2.5.0

2 years ago

What's Changed

Documentation Changes

New Strategy

New Features

Bug Fixes

Other Changes

New Contributors

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.4.1...v2.5.0

v2.5.0-0

2 years ago

What's Changed

New Features

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.4.1...v2.5.0-0

v2.4.1

2 years ago

What's Changed

New Features

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.4.0...v2.4.1

v2.4.0

2 years ago

What's Changed

New Features

Other Changes

New Contributors

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.3.0...v2.4.0

v2.3.0

2 years ago

What's Changed

New Features

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.2.0...v2.3.0

v2.2.0

2 years ago

What's Changed

New Strategy

New Features

New Contributors

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.1.2...v2.2.0

v2.1.2

2 years ago

What's Changed

Other Changes

New Contributors

Full Changelog: https://github.com/sergiodxa/remix-auth/compare/v2.1.1...v2.1.2