Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Access User Pools using the Amazon Cognito Identity SDK for Java

I am exploring Amazon Cognito for one of my work related needs, I found this-aws cognito blog post about to access user pools via java script and this-aws cognito sdk on java, also this-use cases to access user pools in javascript

I am looking similar examples or something similar reference in Java , my objective is to change such java code to Lambda functions, and all such user pools access would be done from API Gateway(On backend Java based lambda functions would work).

like image 547
Sumit Arora Avatar asked Feb 16 '26 20:02

Sumit Arora


1 Answers

Please find this link from AWS Blogs which is the exact use case for Cognito User Pool you are looking for and a very detailed step by step guide to implement it. I tried it and it worked, only difference is the deployment code consumes much more resources on S3 and lambda than Js code hence a pricing factor. If you are looking for similar use case of java script here is a demo implementation for same. It should solve your problem.

BR

like image 158
Jeet Avatar answered Feb 18 '26 12:02

Jeet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!