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

[11.x] Documents Unix permissions #1725

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Passport 12.0 no longer automatically loads migrations from its own migrations d
php artisan vendor:publish --tag=passport-migrations
```

### Encryption Keys UNIX Permissions

In previous versions, the `passport:keys` Artisan command generated the encryption keys (`oauth-private.key` and `oauth-public.key`) with incorrect UNIX permissions.

In Passport version 12.x, there is a new check to ensure existing encryption keys have the correct permissions; therefore, you should verify that your existing keys are set to permissions 600 or 660.

### Password Grant Type

The password grant type is disabled by default. You may enable it by calling the `enablePasswordGrant` method in the `boot` method of your application's `App\Providers\AppServiceProvider` class:
Expand Down