Skip to content

Releases: nulab/scala-oauth2-provider

Support Play Framework 2.5

06 Mar 17:36
Compare
Choose a tag to compare
Merge pull request #84 from tsuyoshizawa/play-2.5

support Play 2.5

Improvement release

21 Jan 13:36
Compare
Choose a tag to compare
  • #78 Added to be able to get authInfo on issue access token
  • #79 Do not use import scala.concurrent.ExecutionContext.Implicits.global

Support Implicit grant

17 Jan 16:04
Compare
Choose a tag to compare
  • Added Implicit grant

Breaking compatibility

Improved AuthorizationHandler #76

These methods of AuthorizationHandler signature to get AuthorizationRequest.
You don't need to define findClientUser method which integrated in findUser method.

  • def validateClient(clientCredential: ClientCredential, grantType: String)
  • def findUser(username: String, password: String)
  • def findClientUser(clientCredential: ClientCredential, scope: Option[String])

Disable grant types by default #77

You need to customize TokenEndpoint trait and use it to you want to use grant types. See README.md.

class CustomizedTokenEndpoint extends TokenEndpoint {
  override val handlers = Map(
    OAuthGrantType.AUTHORIZATION_CODE -> new AuthorizationCode(),
    OAuthGrantType.REFRESH_TOKEN -> new RefreshToken(),
    OAuthGrantType.CLIENT_CREDENTIALS -> new ClientCredentials(),
    OAuthGrantType.PASSWORD -> new Password(),
    OAuthGrantType.IMPLICIT -> new Implicit()
  )
}

Authorisation code destruction

18 May 08:28
Compare
Choose a tag to compare
  • Authorisation flow: Authorisation code destruction #65 #66 by @lloydmeta
    • DataHandler interface added deleteAuthCode

Support JSON body in play2-oauth2-provider

13 Apr 07:38
Compare
Choose a tag to compare
  • Post request with JSON body #62 #63

Improvement release

23 Mar 13:24
Compare
Choose a tag to compare
  • use scaladoc wiki syntax #59
  • Removed unnecessary throw #60
  • exhaustive pattern match #61

Fixed implicit override

11 Mar 06:54
Compare
Choose a tag to compare
  • Fixed implicit override #57

play2-oauth2-provider support ActionBuilder

11 Mar 06:53
Compare
Choose a tag to compare

Add ExecutionContext parameter to OAuth2Provider of play2-oauth2-provider

15 Jan 04:52
Compare
Choose a tag to compare

OAuth2AsyncProvider become default provider

14 Nov 10:21
Compare
Choose a tag to compare
  • OAuth2Provider use Future Result in default
    • wrap the result by await method if your Controller supports synchronous Result