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

Target [League\\OAuth2\\Server\\Repositories\\ClientRepositoryInterface] is not instantiable while building [League\\OAuth2\\Server\\AuthorizationServer] #6

Open
jacksun101 opened this issue Nov 22, 2021 · 2 comments

Comments

@jacksun101
Copy link

I am receiving an error while calling the access_token endpoint. I am using this plugin with OctoberCMS 2.x.

Target [League\\OAuth2\\Server\\Repositories\\ClientRepositoryInterface] is not instantiable while building [League\\OAuth2\\Server\\AuthorizationServer]

Any suggestion?

@jacksun101
Copy link
Author

Hello, now I have realized that it's due to the issue of version changes. League OAuth2 Server has been updated significantly since 5.x. Anyway, I would like to update this plugin for my OctoberCMS project using Laravel 6.x. Should I go ahead with the master branch or maybe use the v2 which is on top Laravel Passport instead?

@jacksun101
Copy link
Author

Never mind, I've tried the v2 branch, and it's working. Thanks.

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

1 participant