- Passport Version: 9.0.1
- Laravel Version: 7.10.3
- PHP Version: 7.4.3
- Database Driver & Version: MySQL 8.0.19
Description:
After upgrading to Passport v9, enabling hashed client secrets (Passport::hashClientSecrets()), and running the command to hash the secrets in the database, we are unable to create Personal Access Tokens.
When using the included Vue component, we receive a 500 (Client authentication failed) when trying to create a new Personal Access Token.
Strangely, even after hashing the client secrets in the database, removing the Passport:hashClientSecrets() method from the AppServiceProvider fixes the issue and allows Personal Access Tokens to be created.