Skip to content

Commit

Permalink
Remove :api// from AzureAdTokenClient
Browse files Browse the repository at this point in the history
  • Loading branch information
MalazAlkoj committed Aug 29, 2024
1 parent 56d225b commit 041292b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class AzureAdTokenClient @Autowired constructor(
private fun commonRequestBody(scopeClientId: String): LinkedMultiValueMap<String, String> {
val body = LinkedMultiValueMap<String, String>()
body.add("client_id", azureAppClientId)
body.add("scope", "api://$scopeClientId/.default")
body.add("scope", "$scopeClientId/.default")
body.add("client_secret", azureAppClientSecret)
return body
}
Expand Down

0 comments on commit 041292b

Please sign in to comment.