-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
access_grant_class
is broken.
#174
Comments
I couldn't reproduced the error in this sample app. Are you missing |
I debuged my application and came to the conclusion that the problem is in the Sorcery gem. |
Ah, because you have |
It doesn't matter what class is provided. The same issue for any other model, without Doorkeeper.configure do
access_grant_class "ApplicationRecord"
end |
It seems because of Sorcery bug, which should be fixed in Sorcery v1. Does doorkeeper-openid_connect need some changes? |
Think we can close this. |
Steps to reproduce
When starting application an error occures:
I tried to require model in the initializer and the error changed:
With other two classes (
access_token_class
,application_class
) application starts correctly.Seems that lib/doorkeeper/openid_connect/orm/active_record.rb:35 is not working.
System configuration
Rails version: 7.0.3
Ruby version: 3.1.2
Doorkeeper version: 5.5.4
Doorkeeper OpenID version: 1.8.2
The text was updated successfully, but these errors were encountered: