<?php
require_once __DIR__.'/includes/functions.php';
$provider = strtolower(trim($_GET['provider'] ?? ''));
if (!$provider || !in_array($provider, ['google','facebook','apple','microsoft','linkedin'], true)) { flash('error','Social provider not available.'); redirect('login.php'); }
flash('warning', ucfirst($provider).' login is ready for API keys. Configure OAuth Client ID/Secret in Admin > Social Login.');
redirect('login.php');
