pmill / aws-cognito

A PHP library for AWS Cognito user pools
MIT License
74 stars 62 forks source link

Config.php Optional AWS Credentials compared to AWS Amplify Javascript libraries for Cognito #24

Open nvestsite opened 5 years ago

nvestsite commented 5 years ago

Since AWS credentials key and secret are optional, these fields could be marked as optional and dropped since they otherwise present a security risk being exposed around? Also, the javascript AWS amplify versions of cognito don't have them. So, do we actually need them here?


<?php
return [
     'credentials' =**> [
        'key' => '',
        'secret' => '',
    ],

'region' => '',
'version' => '',
'app_client_id' => '',
'app_client_secret' => '',
'user_pool_id' => '',
];
?>
roshnimansuri commented 4 years ago

Hi, I am looking for the same! Please let me know if you have successfully done with cognito integration in cakephp application. Any help appreciated! Thanks