Git Product home page Git Product logo

serverless-auth-msg-board-unity3d-client's Introduction

serverless-auth-msg-board-unity3d-client


Work In Progress!

Description

Unity 3D example code for connecting to a credentials authenticated AWS Api Gateway endpoint. The example uses Facebook as an AWS Cognito Federated Identity Provider and how to use Signature V4 to sign the request. To demonstrate this an abstract simple message board was implemented (See serverless-auth-msg-board project)

The signature process is based on Examples of Signature Calculations Using C# (AWS Signature Version 4) docs but was changed to fit Unity 3D.

Important Note: Server backend must be set first, please see serverless-auth-msg-board project for more details.

Additional libraries and assets needed:
  • AWS Mobile SDK for Unity - Install the Cognito Identity (AWSSDK.IdentityManagement.X.X.X.X.unitypackage) Package (Tested with AWSSDK.IdentityManagement.3.3.2.3.unitypackage)
  • Facebook SDK for Unity - (Tested with facebook-unity-sdk-7.9.4)
  • Text Mesh Pro (Free) - For displaying a log (Tested with v1.0.55.0b7 - Mar 06 2017)

Work In Progress:

Currently only the signed (SigV4) POST and GET (with query params) methods works. The REST of the examples (pun intended) will be available soon.

Instructions

  1. After setting up the Api Gateway, copy the Api Gateway base path (with out the endpoints path)
  2. Paste it in the Api Gateway input field
  3. Enter the Api Gateway region in the input field right next to it.
  4. Enter the Facebook App Id in the Facebook input field
  5. Fill in the Cognito pool id and region in the cognito input fields
  6. Write a message and press Create.

Note: Other functions are not yet implemented - work in progress.

serverless-auth-msg-board-unity3d-client's People

Contributors

guywald avatar

Watchers

Willem avatar James Cloos avatar  avatar

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.