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

Generator for a generic authorizer expects a server to be specified #34

Closed
lindyhopchris opened this issue Feb 22, 2021 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@lindyhopchris
Copy link
Contributor

When running this:

php artisan jsonapi:authorizer organiser

You get the error message:

You must use the server option when you have more than one API.

However this is generating a generic authorizer, which goes in the App\JsonApi\Authorizers namespace - i.e. does not relate to a specific server. In this scenario it should not need the server to be specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant