OAuth2 provider written in Scala