uppercase Bearer in token_type

pull/9238/head
Niklas Fiekas 2021-06-23 16:55:10 +02:00
parent 5068230821
commit ee6fc18e1b
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ final class OAuth(env: Env) extends LilaController(env) {
Ok(
Json
.obj(
"token_type" -> "bearer",
"token_type" -> "Bearer",
"access_token" -> token.id.value
)
.add("expires_in" -> token.expires.map(_.getSeconds - nowSeconds))