I am having Amazon Connect Customized Control Panel where Agent can receive call. I have developed customized HTML screen where agent can enter customer details and save into database. For saving I am calling lambda function using API gateway. I am calling gateway URL from HTML page. Now I want to secure that API gateway URL using Cognito user pool where I have integrated Active Directory. I found few solutions but they are sending password to authenticateUser method. So it will expose password in HTML page. Is there any way where I can avoid this?
Thanks, Gans
I don’t see any problem in ‘exposing’ the password in HTML page. Using cognito JS SDK, authenticate user will directly provide the access key. You can then use the key to authenticate your requests to API gateway.