Jump to content

Cross dekstop/mobile authentication in HTML5 game (Facebook, Google, Twitter with oauth)


bobson
 Share

Recommended Posts

Hi guys,

e and my friend are thinking of developing kickass Html5 multiplayer game. Our developer dream is launch one codebase (as far it's possible) to iOS, Android and desktop browser.

We're thinking about creating whole game (client side) as a single page aplication in BB (managing views, api calls, canvas etc.). Then publishing on www server as a casual site or wrapping though PhoneGap to publish on mobiles.

Backend stack so far includes:

  • Node,
  • Express (game api),
  • Mongo,
  • Socketio
  • PassportJs with extensions

Frontend:

  • Backbone with Marionette
  • PixiJs (as all game is rendered canvas rendering except welcome screen with authentication)
  • Cocoonjs or PhoneGap 

How do you handle different authentication policies at cross platform environment. As Google Play, AppStore are only distribution system, we need to login Facebook, Google+ or Twitter on our own and stay away from i.e PhoneGap-social as it works only when publishing on mobile. Am I right?

What are the best practices to make it authentication universal, what's your experience?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...