Skip to content

pedrorijo91/play-auth-example

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

play-auth-example

CircleCI

This repository is a working example for the Play Framework tutorial at https://pedrorijo.com/blog/scala-play-auth/.

To start the app just type:

$ sbt run

And open the homepage at http://localhost:9000/.

You'll see listed several endpoints, each showing one of the concepts presented in the tutorial:

  • Public Page
  • Private Page using raw verification
  • Private Page using Play helpers
  • Private Page using Custom Actions
  • Login
  • Logout
  • Login with incorrect username and/or password

This app has harcoded a single user: user001 and password pass001. You can extend it by creating a registration form, or by simply adding more hardcoded users on the UserDAO.

About

Working example for implementing Authentication on Play Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published