@csrf
@if ($showform)
@else
{{ $record->app?->name ?? '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->name : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->base_url : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->authType->name : 'OAuth 2.0' }}
@endif
@if ($showform)

Maximum number of requests allowed

@else
{{ isset($record) ? $record->throttle_max_requests : '' }}
@endif
@if ($showform)

Time period in seconds

@else
{{ isset($record) ? $record->throttle_per_seconds : '' }}
@endif
@if($this->shouldShowField('media_type'))
@if ($showform) @else
{{ isset($record) ? $record->mediaType->name : 'Basic auth header' }}
@endif
@endif @if($this->shouldShowField('grant_type'))
@if ($showform) @else
{{ isset($record) ? $record->config->grantType->name : 'Authorization code' }}
@endif
@endif @if($this->shouldShowField('username'))
@if ($showform) @else
{{ isset($record) ? $record->config->username : '' }}
@endif
@endif @if($this->shouldShowField('client_id'))
@if ($showform) @else
{{ isset($record) ? $record->config->client_id : '' }}
@endif
@endif @if($this->shouldShowField('client_secret'))
@if ($showform) @if(isset($record) && $record->config->client_secret) ⚠️ You must re-enter the client secret to save changes @endif @else
********
@endif
@endif @if($this->shouldShowField('password'))
@if ($showform) @if(isset($record) && $record->config->password) ⚠️ You must re-enter the password to save changes @endif @else
********
@endif
@endif @if($this->shouldShowField('consumer_key'))
@if ($showform) isFieldRequired('consumer_key') ? 'required' : '' }}> @else
{{ isset($record) ? $record->config->consumer_key : '' }}
@endif
@endif @if($this->shouldShowField('consumer_secret'))
@if ($showform) isFieldRequired('consumer_secret') ? 'required' : '' }}> @if(isset($record) && $record->config->consumer_secret) ⚠️ You must re-enter the consumer secret to save changes @endif @else
********
@endif
@endif @if($this->shouldShowField('token_id'))
@if ($showform) @else
{{ isset($record) ? $record->config->token_id : '' }}
@endif
@endif @if($this->shouldShowField('token_secret'))
@if ($showform) isFieldRequired('token_secret') ? 'required' : '' }}> @if(isset($record) && $record->config->token_secret) ⚠️ You must re-enter the token secret to save changes @endif @else
********
@endif
@endif @if($this->shouldShowField('access_token'))
@if ($showform) isFieldRequired('access_token') ? 'required' : '' }}> @if(isset($record) && $record->config->access_token) ⚠️ You must re-enter the access token to save changes @endif @else
********
@endif
@endif @if($this->shouldShowField('send_credentials_via'))
@if ($showform) @else
{{ isset($record) ? $record->config->sendCredentials->name : 'Basic auth header' }}
@endif
@endif @if($this->shouldShowField('send_token_via'))
@if ($showform) @else
{{ isset($record) ? $record->config->sendToken->name : 'Basic auth header' }}
@endif
@endif @if($this->shouldShowField('signature_method'))
@if ($showform) @else
{{ isset($record) ? $record->config->signature_method : 'HMAC-SHA256' }}
@endif
@endif @if($this->shouldShowField('verifier'))
@if ($showform) @else
{{ isset($record) ? $record->config->verifier : '' }}
@endif
@endif @if($this->shouldShowField('timestamp'))
@if ($showform) @else
{{ isset($record) ? $record->config->timestamp : '' }}
@endif
@endif @if($this->shouldShowField('nonce'))
@if ($showform) @else
{{ isset($record) ? $record->config->nonce : '' }}
@endif
@endif @if($this->shouldShowField('version'))
@if ($showform) @else
{{ isset($record) ? $record->config->version : '1.0' }}
@endif
@endif @if($this->shouldShowField('realm'))
@if ($showform) @else
{{ isset($record) ? $record->config->realm : '' }}
@endif
@endif @if($this->shouldShowField('headers') && $headers && count($headers) > 0)
@if ($showform) @foreach($headers as $index => $head)
@endforeach @else @foreach($headers as $head) @if(!empty($head['value']))
{{ $head['key'] }}: {{ $this->maskSensitiveValue($head['key'], $head['value']) }}
@endif @endforeach @endif
@endif @if($this->shouldShowField('requestBody') && $requestBody && count($requestBody) > 0)
@if ($showform) @foreach($requestBody as $index => $bodyParam)
@endforeach Add parameters @else @foreach($requestBody as $bodyParam) @if(!empty($bodyParam['value']))
{{ $bodyParam['key'] }}: {{ $this->maskSensitiveValue($bodyParam['key'], $bodyParam['value']) }}
@endif @endforeach @endif
@endif @if($this->shouldShowField('auth_endpoint'))
@if ($showform) @else
{{ isset($record) ? $record->config->auth_endpoint : '' }}
@endif
@endif @if($this->shouldShowField('access_token_url'))
@if ($showform) @else
{{ isset($record) ? $record->config->access_token_url : '' }}
@endif
@endif @if($this->shouldShowField('valid_domains'))
@if ($showform) @else
{{ isset($record) ? $record->config->valid_domains : '' }}
@endif
@endif @if($this->shouldShowField('scope'))
@if ($showform) @else
{{ isset($record) ? $record->config->scope : '' }}
@endif
@endif @if($this->shouldShowField('resource_url'))
@if ($showform) @else
{{ isset($record) ? $record->config->resource_url : '' }}
@endif
@endif @if($this->shouldShowField('redirect_url'))
@if ($showform) isFieldRequired('redirect_url') ? 'required' : '' }}> @else
{{ isset($record) ? $record->config->redirect_url : '' }}
@endif
@endif @if($this->shouldShowField('timeout'))
@if ($showform)

Optional per-connector override. Max 180 seconds.

@else
{{ isset($record) && isset($record->config->timeout) ? $record->config->timeout . 's' : 'Default' }}
@endif
@endif @if($this->shouldShowField('file_config'))
@if ($showform)
Private Key Configuration:

Upload your private key file (.p8, .pem, or .key) for JWT authentication.

@else
{{ $this->getFileConfigDisplay() }}

🔒 Private key content is encrypted and securely stored. Only the reference is shown here for security.

@endif
@endif @if($this->shouldShowField('include_body_hash') || $this->shouldShowField('add_empty_params') || $this->shouldShowField('encode_params'))
Advanced OAuth 1.0 Configuration (All Optional)
@if($this->shouldShowField('include_body_hash'))
config->include_body_hash ? 'checked' : '' }}>
@endif @if($this->shouldShowField('add_empty_params'))
config->add_empty_params ? 'checked' : '' }}>
@endif @if($this->shouldShowField('encode_params'))
config->encode_params ? 'checked' : '' }}>
@endif
@endif
Cancel @if (!$showform) Edit @else @endif