diff --git a/config/packages/knpu_oauth2_client.yaml b/config/packages/knpu_oauth2_client.yaml index 7d296a8b..d53f604a 100644 --- a/config/packages/knpu_oauth2_client.yaml +++ b/config/packages/knpu_oauth2_client.yaml @@ -22,7 +22,7 @@ knpu_oauth2_client: #urlAccessToken: 'https://sandbox-api.digikey.com/v1/oauth2/token' #urlResourceOwnerDetails: '' - ip_octopart_oauth: + ip_octopart_oauth: type: generic provider_class: '\League\OAuth2\Client\Provider\GenericProvider' @@ -35,4 +35,19 @@ knpu_oauth2_client: provider_options: urlAuthorize: 'https://identity.nexar.com/connect/authorize' urlAccessToken: 'https://identity.nexar.com/connect/token' - urlResourceOwnerDetails: '' \ No newline at end of file + urlResourceOwnerDetails: '' + + ip_buerklin_oauth: + type: generic + provider_class: '\League\OAuth2\Client\Provider\GenericProvider' + + client_id: '%env(PROVIDER_BUERKLIN_CLIENT_ID)%' + client_secret: '%env(PROVIDER_BUERKLIN_SECRET)%' + + redirect_route: 'oauth_client_check' + redirect_params: { name: 'ip_buerklin_oauth' } + + provider_options: + urlAuthorize: 'https://www.buerklin.com/authorizationserver/oauth/token' + urlAccessToken: 'https://www.buerklin.com/authorizationserver/oauth/token' + urlResourceOwnerDetails: ''