I have been struggling to understand how AWS Cognito should be implemented in java for android App user Authentication. I have seen Github codes for android but code is difficult for me to understand as I am beginner to android. Can anybody explain it with simple code? Specially how the user calls backendserver in java to get the ID.Any Simple explaination?
The basic idea is that you will have an authentication server (backend) which will be the sole authority to verify user credentials. The high level flow will be:
I would highly encourage you to follow our blog post and the developer guide, it explains this flow in depth. As always, if you have any questions please feel free to ask.