Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.04 KB

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.