Skip to content

Commit

Permalink
- Changed usage from old AAD_ISSUER_URI to NAIS provided AZURE_OPENID…
Browse files Browse the repository at this point in the history
…_CONFIG_ISSUER.

- Added a TODO - this is not library code.
  • Loading branch information
rfc3092 committed Jan 9, 2025
1 parent 8105104 commit 439b712
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import java.net.URI;

// TODO: Why do we not use a library here?
@Slf4j
@Service
public class AzureAdTokenService {
Expand All @@ -26,7 +27,7 @@ public class AzureAdTokenService {

public AzureAdTokenService(
@Value("${http.proxy:#{null}}") String proxyHost,
@Value("${AAD_ISSUER_URI}") String issuerUrl,
@Value("${AZURE_OPENID_CONFIG_ISSUER}") String issuerUrl,
AzureClientCredential clientCredential,
GetAuthenticatedToken getAuthenticatedToken
) {
Expand Down

0 comments on commit 439b712

Please sign in to comment.