I have been asked to do a coding challenge and to build a mini app which uses AWS Cognito for authentication.
I have been giving the following keys:
UserPoolId: "us-east-1_dJfLT4QIp"
ClientId: "194t5jewd8o56ppmbjjlvdt6yi"
(not the real details).
I can comfortably follow this tutorial: https://medium.com/better-programming/create-a-fully-functioning-user-authentication-with-aws-cognito-and-amplify-with-angular-complete-a3ce58df1b74
Which goes from having no AWS account to using AWS Cognito for login, however I don't understand how to integrate the keys I've been provided with into my application.
Is it possible to set these keys somewhere in my application to access a preexisting UserPool?
This is currently the most promising path I have: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-integrating-user-pools-with-identity-pools.html