AWS Cognito Integration

I am looking to make a turn based game that would require user sign up. I would like to use the services offered by AWS but am a little confused when it comes to singing up users with Cognito. Using their SDKs appears straight forwards but they cannot be used with Corona. I see that they have a REST api that would require me to do the request signing (seems complicated based on documentation). Before I start down this road I wanted to ask two questions:

  • What are others out there doing to sing up/validate users? Writing their own custom calls to AWS or a similar service and handling all errors , storing tokens, etc.?

-Am I missing something with AWS - Is there a way to use the SDKs with Corona?

There may be a plugin in the marketplace (https://marketplace.coronalabs.com) that might give you access to that, but I’m not sure. Corona’s network.request() API call will need to use their REST API.

There are other services that provide game backends like PlayFab and GameSparks that have pre-made plugins for Corona. You also have Coronium Core where you host your own server on either AWS or Digital Ocean that’s in active development by a Corona developer (@develophant) and many people really like it. It has player authentication, works with a plugin from the marketplace and if you need to write any backend code, it’s done in Lua!

So you have options. That said I’ve never looked at Cognito so maybe some community developers can add more.

Rob

Im using coronium core and couldnt be happier  :slight_smile:

I’d search the web in general and gitHub specifically for Lua based solutions to using Cognito.

https://github.com/britzl/aws-sdk-lua/tree/master/aws-sdk

It is more of a Lua question than a Corona question.

I use GameSparks. I use single sign-on for both Google Play and Game Center (i have a walk through videos up that show you how it is done). I also allow people to sign up with Facebook if they want to.

I also almost have a turn-based code walkthrough done that will probably be up next week. Similar to the one GameSparks has up except that I am keeping all the code in Lua.

Also, note that GameSparks was bought by Amazon in June/July of last year.

There may be a plugin in the marketplace (https://marketplace.coronalabs.com) that might give you access to that, but I’m not sure. Corona’s network.request() API call will need to use their REST API.

There are other services that provide game backends like PlayFab and GameSparks that have pre-made plugins for Corona. You also have Coronium Core where you host your own server on either AWS or Digital Ocean that’s in active development by a Corona developer (@develophant) and many people really like it. It has player authentication, works with a plugin from the marketplace and if you need to write any backend code, it’s done in Lua!

So you have options. That said I’ve never looked at Cognito so maybe some community developers can add more.

Rob

Im using coronium core and couldnt be happier  :slight_smile:

I’d search the web in general and gitHub specifically for Lua based solutions to using Cognito.

https://github.com/britzl/aws-sdk-lua/tree/master/aws-sdk

It is more of a Lua question than a Corona question.

I use GameSparks. I use single sign-on for both Google Play and Game Center (i have a walk through videos up that show you how it is done). I also allow people to sign up with Facebook if they want to.

I also almost have a turn-based code walkthrough done that will probably be up next week. Similar to the one GameSparks has up except that I am keeping all the code in Lua.

Also, note that GameSparks was bought by Amazon in June/July of last year.