Sorcery/sorcery

Sorcery breaks Doorkeeper OpenID `access_grant_class` configuration

Exterm1nate opened this issue · 0 comments

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 an uninitialized constant error for any provided class.
doorkeeper-gem/doorkeeper-openid_connect#174

Steps to Reproduce

  1. Add Sorcery and Doorkeeper (+OpenID) to your gemfile
  2. Customize access grant class in Doorkeeper initializer (access_grant_class "Oauth::AccessGrant")

Sample app

https://github.com/Exterm1nate/doorkeeper-openid_connect-sample