Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AuthorizationCodeStrategy extends Strategy(GrantType.AuthorizationCode) {
method = config.tokenMethod,
uri = uri,
headers = List(
RawHeader("Accept", "*/*")
RawHeader("Accept", "application/json")
),
FormData(
params ++ Map(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ClientCredentialsStrategy extends Strategy(GrantType.ClientCredentials) {
method = config.tokenMethod,
uri = uri,
headers = List(
RawHeader("Accept", "*/*")
RawHeader("Accept", "application/json")
),
FormData(
params ++ Map(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PasswordCredentialsStrategy extends Strategy(GrantType.PasswordCredentials
method = config.tokenMethod,
uri = uri,
headers = List(
RawHeader("Accept", "*/*")
RawHeader("Accept", "application/json")
),
FormData(
params ++ Map(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RefreshTokenStrategy extends Strategy(GrantType.RefreshToken) {
method = config.tokenMethod,
uri = uri,
headers = List(
RawHeader("Accept", "*/*")
RawHeader("Accept", "application/json")
),
FormData(
params ++ Map(
Expand Down