Deadbolt for Scala

The Deadbolt for Scala Developer Hub

Welcome to the Deadbolt for Scala developer hub. You'll find comprehensive guides and documentation to help you start working with Deadbolt for Scala as quickly as possible, as well as support if you get stuck. Let's jump right in!

This project is supported by Auth0.

If you want to easily add secure authentication and authorization to your Java or Scala projects, feel free to check out Auth0's Java SDK, Scala examples and free plan at

Get Started    
Ask A Question


How to compose an Action for multipart upload with Subject Present?

Posted by Michael Read about a year ago

First, Steve, excellent library. Kudo! I just love Deadbolt! However, I haven't figured this out:

@ describes how to upload a file from the browser:
def upload = Action(parse.multipartFormData) { request =>

How would you compose a deadbolt subject present action with parse.multipartFormData starting from :
def logoUploadPost = actionBuilder.SubjectPresentAction().defaultHandler() { implicit request =>

It seems like it's too late to provide the alternate parser... Maybe something in the Dynamic arena?

Thanks much...

Loading comments...