diff --git a/README.md b/README.md index dd95877..48a2ee1 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ return [ 'modules' => [ 'oauth' => [ 'class' => OAuthModule::class, - 'tokenPrivateKey' => getenv('JWT_PRIVATE_KEY_FILE'), // Path to private key file - 'tokenEncryptionKey' => getenv('JWT_PRIVATE_KEY_PASSPHRASE'), // optional. Only needed if you have a passphrase for your private key - 'accessTokenIssuer' => getenv('JWT_ISS'), // Issuer of the access token. + 'tokenPrivateKey' => 'file:///path/to/private.key', // Path to private key file + 'tokenEncryptionKey' => 'your-secret', // optional. Only needed if you have a passphrase for your private key + 'accessTokenIssuer' => 'http://localhost:80', // Issuer of the access token. 'userIdAttribute' => 'id', // The attribute of the user model that will be added to the access token as the `sub` claim. // This is optional but recommended. It will allow you to manage your clients in the admin interface. 'modules' => [