GithubHelp home page GithubHelp logo

awscognito-unity-accounts-demo's Introduction

awscognito-unity-accounts-demo

This is a fully-functional Unity project (Unity 2017.3, using .NET 4.5) that demonstrates sign-up and sign-in for AWS Cognito user accounts. This is not (Jan 2018) supported by the official AWS SDK release. I have rebuilt the SDK using this fork, DLLs are included.

See this tutorial for instructions on how to set up the AWS side, and things you need to do in the code to make it work: http://www.gradientspace.com/tutorials/2018/1/25/using-aws-cognito-user-accounts-with-unity

The Sign-in code, and particularly the math parts, are borrowed from this article by Marcus Lachinger: http://blog.mmlac.com/aws-cognito-srp-login-c-sharp-dot-net/. His github is here: https://github.com/mmlac

Also using the Hkdf class from this gist: https://gist.github.com/CodesInChaos/8710228

Also includes a complied BouncyCastle dll, if you want to rebuild from source, it is here: https://github.com/bcgit/bc-csharp

My code is released under MIT license, but these other things, have their own licenses.

awscognito-unity-accounts-demo's People

Contributors

rms80 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

awscognito-unity-accounts-demo's Issues

What to do with tokens?

Your repo was an amazing aid to me. I got the tokens I needed. I don't quite know what to do with these though to do something like download a file from S3, or access DynamoDB.

How do I turn these tokens into an AWSCredentials object to then pass into AmazonS3Client or other?

it doesn't return response for signup, updating user

Hello
I used this demo.
but It has many errors

  1. when I signup, if there is already same user, it doesn't return any response.(Cognito.TrySignupRequest)
  2. when I update user info with access token, it doesn't return any response.(Cognito.TryUpdateUserRequest)
    Did you test these functions?
    Please help me.
    I am waiting now

Does not work on Android.

Ive beein trying to get this to work on android. I have a link.xml but it still does not seem to be working at all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.