Skip to content

Commit

Permalink
Documents Unix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Mar 6, 2024
1 parent ba88131 commit 28fb9ed
Showing 1 changed file with 6 additions and 0 deletions.
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 Permission

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

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

0 comments on commit 28fb9ed

Please sign in to comment.