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

Updating routes to use configurable nova:api group. #170

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Updating routes to use configurable nova:api group. #170

merged 1 commit into from
Nov 15, 2022

Conversation

tommulroy
Copy link
Contributor

We noticed the middleware on the API route wasn't using the configurable nova:api group. I'm not 100% sure why not, if there's a reason please can you let me know?

It was causing issues for us with Sanctum + Jetstream.

From config/nova.php

'api_middleware' => [
    'nova',
    Authenticate::class,
    Authorize::class,
],

@freekmurze freekmurze merged commit c84473c into spatie:main Nov 15, 2022
@freekmurze
Copy link
Member

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

Successfully merging this pull request may close these issues.

2 participants