sorcery icon indicating copy to clipboard operation
sorcery copied to clipboard

Magical Authentication

Results 78 sorcery issues
Sort by recently updated
recently updated
newest added

Answering the call here: https://github.com/Sorcery/sorcery/wiki/Testing-Rails#feature-tests-w-selenium-or-webkit In system tests, we've been stubbing our SSO calls to WorkOS and then visiting our sso callback action. That action ends up calling `auto_login`. This...

Per Rails 7.x, ``` DEPRECATION WARNING: ActiveRecord::Base.timestamped_migrations is deprecated and will be removed in Rails 7.1. Use `ActiveRecord.timestamped_migrations` instead. ``` This method was removed in Rails 7.1, breaking the sorcery...

to be implemented in v1

It would be great to have some documentation that would serve as a how-to guide for anyone trying to migrate from Devise to Sorcery.

documentation
to be implemented in v1

Close #327 This PR adds a `login!` method, that behaves like `login` except it raises an exception if the login fails. See #327 for more details. Please ensure your pull...

### Configuration - Sorcery Version: 0.16.4 - Ruby Version: 2.6.6 - Framework: ruby on rails v 6.0 - Platform: Ubuntu ### Expected Behavior Integration tests should work with the login...

can't replicate

I'd like to suggest adding a `login!` method, that would behave like `login` except it would raise an exception if the login fails. This is similar to the `save` /...

enhancement
to be implemented in v1

### Configuration - Sorcery Version: latest ### Expected Behavior The docs should be clear and not say two different things in two places. ### Actual Behavior The [README](https://github.com/Sorcery/sorcery#user-activation) recommends the...

documentation

Fix: https://github.com/Sorcery/sorcery/issues/296 Rails 7 released a new method called `redirect_back_or_to` as a replacement for `redirect_back`. That may conflicts with the method by the same name defined by Sorcery. This commit...