Need to control your web or mobile app users sign-up and log-in and what they can do once they’ve logged in? Have you considered using Amazon’s Cognito?
Cognito is an Amazon Web Service that enables you to sign-up your users, allow them to log in and then control what they can do once they’ve logged in to your web or mobile app. Your users can also make use of Social Identity providers such as Facebook and Twitter to log in. It’s free to use under AWS’s free tier option after which the rates are very reasonable as you pay only for what you use.
There are two components to Cognito:
You can use the two options separately or together.