-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
needs more infoMore information is requiredMore information is required
Description
- Laravel Version: 11.45.0
- Nova Version: 4.35.10
- PHP Version: 8.3.15
- Database Driver & Version: mysql 8.0.40
- Operating System and Version: ECS Fargate / Docker Container using serversideup/php:8.3-fpm-nginx-alpine-v3.5.2
- Browser type and version: Chrome 137.0.7151.120
- Reproduction Repository: https://github.com/###/###
Description:
- We are using non-standard staging URL configured with a license key.
- We have run license check and received the message that the license is valid
- We have a middleware running that performs auth
- The gate for authorization has been simplified since the middleware is responsible for auth
protected function gate()
{
Gate::define('viewNova', function ($user) {
return true;
});
}
- We have tested
APP_ENV
withstaging
- gives 403 forbidden - We have tested
APP_ENV
withlocal
- works fine - We have also done extensive checks by enabling/disabling each middleware to rule out if any middleware is a problem but it does not seem to be
Detailed steps to reproduce the issue on a fresh Nova installation:
- use
APP_ENV
other thanlocal
- use non-standard domain other than specified in https://nova.laravel.com/docs/v4/installation#using-nova-on-development-and-staging-domains (such as
staging-internal
) - use
NOVA_LICENSE_KEY
which is a valid key and passes license check command withphp artisan nova:check-license
tannerhelton and ziming
Metadata
Metadata
Assignees
Labels
needs more infoMore information is requiredMore information is required