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).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With