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

Rails 7 released a new method called `redirect_back_or_to` added by DHH as a replacement for the now soft-deprecated `redirect_back`: https://github.com/rails/rails/pull/40671. That may conflict with the method by the same name...

### Configuration - Sorcery Version: `0.16.3` - Ruby Version: `3.1.2` - Framework: `Rails v7.0.3` - Platform: `amd64` ### Expected Behavior Doorkeeper `access_grant_class` configuration should work. ### Actual Behavior It raises...

bug

Since 7.0, Rails protects against redirecting to external hosts https://api.rubyonrails.org/classes/ActionController/Redirecting.html#method-i-redirect_to-label-Open+Redirect+protection This change adapts to this by adding the option `allow_other_host` to the method call

This page https://github.com/Sorcery/sorcery/wiki/Testing-Rails needs updating. For request specs (I dont need helpers for system specs - and I dont use controller specs) I added: `config.include Sorcery::TestHelpers::Rails::Request, type: :request` - in...

documentation

Hi, I am trying to update to Rails 7 my app but I keep hitting the same issue: ``` ➜ sample_app git:(main) rails c /Users/Nerian/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError...

bug
implemented in v1

- Check for relevant changes in: - [Rails 7 Release Notes](https://edgeguides.rubyonrails.org/7_0_release_notes.html) - [Rails 7 Upgrade Guide](https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-6-1-to-rails-7-0) - Address related issues and PRs - #309 - #308 - #296 - Push...

enhancement

Example: ``` class User < ApplicationRecord authenticates_with_sorcery! def self.scope_for_authentication where(deleted: false) end end ```

enhancement

The activity_logging attribute was missing in the initialized configuration.

We are working on upgrading a Rails 5 app and the Rails 5.2 update adds `new_framework_defaults_5_2.rb` with: ```ruby # Rails.application.config.active_record.cache_versioning = true ``` When that is commented, cache keys look...

bug
implemented in v1