Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Mar 13, 2023
1 parent eea3460 commit 15dcfef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit 15dcfef

Please sign in to comment.