CognitoIdentityClient - 404 not found in iam/security-credentials
问题 I want to register an AWS Cognito Identity using getOpenIdTokenForDeveloperIdentity . Below are my codes written in CodeIgniter framework: Awscognitoauth.php <?php // <MYPROJECT>/application/controllers/Awscognitoauth.php defined('BASEPATH') or exit('No direct script access allowed'); class Awscognitoauth extends CI_Controller { function getOpenId($userId) { $this->load->library('awsauth'); return $this->awsauth->identity($userId); } } Awsauth.php <?php // <MY PROJECT>/application/libraries