|
@@ -37,14 +37,14 @@ |
|
|
block discarded – undo |
|
37
|
37
|
'2021-01-01' => getenv('YII2_OAUTH2_SERVER_STORAGE_ENCRYPTION_KEY'), // The encryption key for storage like client secrets |
|
38
|
38
|
], |
|
39
|
39
|
'defaultStorageEncryptionKey' => '2021-01-01', // The index of the default key in storageEncryptionKeys |
|
40
|
|
- 'grantTypes' => [ // For more information which grant types to use, please see https://oauth2.thephpleague.com/authorization-server/which-grant/ |
|
|
40
|
+ 'grantTypes' => [// For more information which grant types to use, please see https://oauth2.thephpleague.com/authorization-server/which-grant/ |
|
41
|
41
|
Oauth2Module::GRANT_TYPE_AUTH_CODE, |
|
42
|
42
|
Oauth2Module::GRANT_TYPE_CLIENT_CREDENTIALS, |
|
43
|
43
|
Oauth2Module::GRANT_TYPE_IMPLICIT, |
|
44
|
44
|
Oauth2Module::GRANT_TYPE_PASSWORD, |
|
45
|
45
|
Oauth2Module::GRANT_TYPE_REFRESH_TOKEN, |
|
46
|
46
|
], |
|
47
|
|
- 'migrationsNamespace' => 'sample\\migrations\\oauth2', // The namespace with which migrations will be created (and by which they will be located). |
|
|
47
|
+ 'migrationsNamespace' => 'sample\\migrations\\oauth2', // The namespace with which migrations will be created (and by which they will be located). |
|
48
|
48
|
'enableOpenIdConnect' => true, // Only required if OpenID Connect support is required |
|
49
|
49
|
'defaultUserAccountSelection' => Oauth2Module::USER_ACCOUNT_SELECTION_UPON_CLIENT_REQUEST, // Allow clients to request user account selection (OpenID Connect) |
|
50
|
50
|
'migrationsFileOwnership' => '1000:1000', |
Please login to merge, or discard this patch.