{{-- Platform OAuth Configuration Form --}} {{-- This form is loaded by PluginConfigModal for admin platform settings --}}
{{-- Section Header --}}

WordPress.com OAuth Settings

Configure the shared OAuth credentials for all WordPress apps. Create OAuth app at WordPress.com →

{{-- OAuth Client ID --}}

Found in your WordPress.com application settings

{{-- OAuth Client Secret --}}

Keep this secret secure - injected into apps at build time

{{-- OAuth Redirect Scheme --}}
://callback

Custom URL scheme for OAuth callback (default: appy-wp)

{{-- Info Box --}}

Redirect URI for WordPress.com App:

{{ $config['oauth_redirect_scheme'] ?? 'appy-wp' }}://callback

Enter this exact URI in your WordPress.com application settings.

{{-- Warning for unconfigured state --}} @if(empty($config['oauth_client_id']) || empty($config['oauth_client_secret']))

OAuth Not Configured

Apps can still be built, but user authentication features will be disabled. Users will only be able to read public content.

@endif