Automation:

ARTIFACTORY: How to integrate Artifactory with Azure OpenID?

AuthorFullName__c
Vasily Shkavera
articleNumber
000005143
ft:sourceType
Salesforce
FirstPublishedDate
2021-09-19T08:46:57Z
lastModifiedDate
2024-03-10T07:49:25Z
VersionNumber
8

From version 5.8, Artifactory provides a flexible way to configure an existing Artifactory instance using a simple YAML configuration file that allows importing any external identity provider settings. 
Please find more information on the Artifactory YAML Configuration confluence page.
Below is an example of an OpenID configuration YAML file:

security:
  oauthSettings:
    enableIntegration: true
    persistUsers: false 
    allowUserToAccessProfile: false
    oauthProvidersSettings:
    openid-oauth:      #Provider name in JDP
    id: <Client-ID>  #The Unique ID/Client ID/Application ID of the OAuth Provider
    enabled: false   #When set, the OAuth SSO provider setting is enabled
    apiUrl: https://graph.microsoft.com/oidc/userinfo   #The URL used for API access
    authUrl: https://login.microsoftonline.co0m/<Tenant-ID>/oauth2/v2.0/authorize  
#The URL used for the initial authentication step
    basicUrl:
    providerType: openId
    secret: secret  #The OAuth2 shared secret, given by the provider
    tokenUrl: https://login.microsoftonline.com/<Tenant-ID>/oauth2/v2.0/token  
#The URL used to acquire a token from the provider