Skip to content

Commit

Permalink
Fjerner ubrukt kode
Browse files Browse the repository at this point in the history
  • Loading branch information
mettok committed Jan 24, 2025
1 parent 50bfbfa commit 4a320ad
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,32 +48,6 @@ no.nav.security.jwt {
}
]

// config for token support client
client {
registration {
clients = [
{
client_name: "azure_ad"
well_known_url: "https://login.microsoftonline.com/966ac572-f5b7-4bbe-aa88-c76419c0f851/v2.0/.well-known/openid-configuration"
well_known_url: ${?AZURE_APP_WELL_KNOWN_URL}
token_endpoint_url: "https://login.microsoftonline.com/966ac572-f5b7-4bbe-aa88-c76419c0f851/oauth2/v2.0/token"
token_endpoint_url: ${?AZURE_OPENID_CONFIG_TOKEN_ENDPOINT}
grant_type: client_credentials
oppgavescope: ${?OPPGAVE_SCOPE}
dokarkivscope: ${?DOKARKIV_SCOPE}
safscope: ${?SAF_SCOPE}
pdlscope: ${?PDL_SCOPE}
authentication: {
client_id: ${?AZURE_APP_CLIENT_ID}
client_secret: "secret-injected-by-nais"
client_secret: ${?AZURE_APP_CLIENT_SECRET}
client_auth_method: client_secret_post
}
}
]
}
}
}

aad_preauthorized_apps = "[{\"clientId\":\"appId\",\"name\":\"thisapp\"},{\"clientId\":\"appId2\",\"name\":\"otherapp\"}]}"
aad_preauthorized_apps = ${?AZURE_APP_PRE_AUTHORIZED_APPS}
Expand Down

0 comments on commit 4a320ad

Please sign in to comment.