Skip to content

jbaconsult/play-facebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

play-facebook is a Play Framework archetype providing basic Facebook authentication mechanics. It integrates Facebook Login into Secure module infrastructure. Hence, if you are familiar with Secure module, you can directly bootstrap your own Facebook Login integrated application.

Installation

  1. Checkout the play-facebook sources and do play deps.
  2. Edit FBOAuth variable in app/controllers/Security.java according to your Facebook Application credentials. (Doesn't have one yet?)
  3. Do play run.

Usage

You don't need any other extra configurations. Just start using @With(Secure.class) and/or @Check("admin") annotations within your controller classes.

As a side node, all login failures will be redirected to Application.index(). You can alter this behaviour by editing the views/login.html.

About

Ready to go Play Framework application with Facebook Login integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published