A Scala / Play Framework library using Mohiva Silhouette to "log in with yetu".
This library is intended to help you get started building an app that authorizes with and fits into the yetu ecosystem.
This library is based on, and takes code from play-silhouette-seed (Thanks!) It uses OAuth2
Currently please contact [email protected] to obtain OAuth2 credentials.
For more information on how to develop yetu apps, please see this page
resolvers += Resolver.url(
"bintray-sbt-plugin-releases",
url("http://dl.bintray.com/content/sbt/sbt-plugin-releases"))(
Resolver.ivyStylePatterns)
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.2")
bintrayResolverSettings
resolvers += bintray.Opts.resolver.mavenRepo("yetu")
//substitute <VERSION> here with the latest stable release
libraryDependencies += "com.yetu" %% "yetu-play-authenticator" % "<VERSION>"
# Silhouette / Authentication routes
GET /signOut @com.yetu.play.authenticator.controllers.ApplicationController.signOut
GET /authenticate/:provider @com.yetu.play.authenticator.controllers.SocialAuthController.authenticate(provider)
For more information, also have a look at the youtube-html-app to see how this library can be used.