Silhouette is an authentication library for Play Framework applications that supports several authentication methods, including OAuth1, OAuth2, OpenID, CAS, Credentials, Basic Authentication, Two Factor Authentication or custom authentication schemes.
Play 3.x with Apache Pekko | Play 2.9.x with Akka | Play 2.8.x with Akka | |
---|---|---|---|
Silhouette | 10.x | 9.x | 8.x |
To get the latest production release(s) from this repository, add the following to your project's build.sbt
file, replacing x.x.x
with the play-silhouette
version of choice:
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-cas" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-crypto-jca" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-password-argon2" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-password-bcrypt" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-persistence" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-totp" % "x.x.x"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-testkit" % "x.x.x" % Test
This fork of play-silhouette
shall also be releasing SNAPSHOTS of the latest passed builds which can be used for the latest, bleeding-edge features, patches and code fixes prior to official production releases. If you want to pull these for testing with your code in development environments, please ensure that you add the appropriate resolver below, and select the appropriate version with x.x.x
(>= 7.0.1).
resolvers += "snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots/"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-cas" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-crypto-jca" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-password-argon2" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-password-bcrypt" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-persistence" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-totp" % "x.x.x-SNAPSHOT"
libraryDependencies += "org.playframework.silhouette" %% "play-silhouette-testkit" % "x.x.x-SNAPSHOT" % Test
If you have question regarding Silhouette, please use the chat. Please do not use the issue tracker for questions!
Please read the [contributing guide] before you contribute. It contains very useful tips for a successful contribution.
The code is licensed under Apache License v2.0 and the documentation under [CC BY 3.0].
This repository started life as a fork from the main repository but now exists as it's own project. Thank you very much to previous maintainer Christian Kaps (@akkie) and all contributors for the work you've done to bring us to this point. This library was made fantastic and we are looking to continue along the path you set for us.