Anjaneyulu Battula
Anjaneyulu Battula

Reputation: 1960

iOS - AWS developer authentication, User registration Process

In my application i am using AWS SDK for development. i am able to do all the operations except user registration(In Developer authentication). In AWS they mentioned that for user registration we have to write our own backend code. But i do not have any idea about backend. I am thinking that if amazon provides straight forward solution for user registration it would be helpful. And i gone through server side setup(amazon provided sample code), but there we can register the user through browser not through ios client.

In my application user registration contains emaild, username, password and photo selection options.

For user registartion (developer authentication), i have done more research, but i did not find any direct solution.

Can any one please provide direct solution or any good tutorial to implement our own backend for user registration.

Thanks in advance.

Upvotes: 4

Views: 493

Answers (2)

Scott Willeke
Scott Willeke

Reputation: 9345

You have a couple options to use Amazon Cognito and providing a complete registration system for users without building a backend: OpenID Connect and Open Source.

OpenID Connect: Since Cognito Supports OpenID Connect-compliant identity providers, you can leverage products out there that federate/broker multiple social providers and expose the federated user via OpenID Connect which have special support for Cognito including Ping Federate, Auth0, and SecureAuth to name a few. I also understood that Okta provides an OpenID Connect identity provider so it might be worth looking into.

Open Source: LambdaAuth is a bare bones project that leverages Lambda and Cognito to provide a registration and authentication backend. Cognito Helper is another one that appears to have more features and be more developed. If one of those have the features you need, they should be easy to deploy and run on server-less Lambda, so they're easy to maintain and you pay only for what you use.

Upvotes: 5

Mark Mercurio
Mark Mercurio

Reputation: 993

While the details of your registration process will depend on the needs of your application, you may want to consider using API Gateway to front the registration logic you write.

API Gateway will generate an SDK for you which you can use in your application to call your API.

You can have your application call your registration API which handles all of the logic for doing the backend portion of acquiring credentials: http://docs.aws.amazon.com/cognito/devguide/identity/concepts/authentication-flow/#developer-authenticated-identities-authflow

Upvotes: 1

Related Questions