Skip to content

subrato30/Janrain-Sample-Code

 
 

Repository files navigation

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 git@github.com:janrain/Janrain-Sample-Code.git
  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

Haskell

Perl

About

Janrain Sample Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 29.1%
  • C# 16.1%
  • Groovy 14.2%
  • JavaScript 9.6%
  • CSS 9.0%
  • HTML 8.7%
  • Other 13.3%