Skip to content
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

App is not generating the Oauth2 token using doorkeeper gem #1664

Open
bhardwajrahul919 opened this issue Jul 19, 2023 · 2 comments
Open

App is not generating the Oauth2 token using doorkeeper gem #1664

bhardwajrahul919 opened this issue Jul 19, 2023 · 2 comments

Comments

@bhardwajrahul919
Copy link

I have upgraded my rails app from rails version 5.* to 7 also I have upgraded doorkeeper gem from version 4.2.6 to 5.6.6 but now it is not generating the Oauth2 token.

  • when I am using the same old version of doorkeeper 4.2.6 , the apps is not loading . it is giving below error.
NoMethodError: undefined method `arity' for {:class_name=>"Doorkeeper::Application", :inverse_of=>:access_grants, :optional=>true}:Hash
if scope && scope.arity == 0
@nbulaj
Copy link
Member

nbulaj commented Aug 31, 2023

You should check if you have any monkey-patching for Doorkeeper internals, anything related to it's models / configs / classes

@nbulaj
Copy link
Member

nbulaj commented Feb 12, 2024

Any news here @bhardwajrahul919 ? Have your resolved your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants