Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Janrain Sample Code
PHP C# Groovy JavaScript CSS HTML Other
Latest commit baddefc @tcmitche tcmitche Merge pull request #13 from janrain/topic/add-social-login-example
Topic/add social login example

Janrain Examples

Basic examples of token URLs that can be used with Janrain's Social Login service.

No warranty, use at your own risk.

Janrain Social Login Widget Examples

You can find example implementations of the Janrain Social Login widget in the widget-examples folder, along with a tiny Node server and token url implementation. To see the examples in action, do the following:

  1. The first thing you'll want to do is install Node.js.
  2. Next, open a terminal and run the following commands:
  3. git clone
  4. cd Janrain-Sample-Code/widget-examples
  5. npm install
  6. In server.js, replace _API_KEY_ with your Janrain API key.
  7. In application_domain.js, replace _APPLICATION_DOMAIN_ with your Janrain Application Domain, which you can find by visiting the settings page on the Janrain Dashboard.
  8. Now start the server with node server.js
  9. That's it! You should now be able to access the examples at http://localhost:3000.

Third Party Examples



Something went wrong with that request. Please try again.