<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Continue Sign-in</title>
</head>

<body style="font-family: Arial, Helvetica, sans-serif; padding: 24px;">
    <p>Redirecting to <%= provider %> login...</p>

    <form id="social-login-form" method="POST" action="<%= signInEndpoint %>">
        <input type="hidden" name="provider" value="<%= provider %>" />
        <input type="hidden" name="callbackURL" value="<%= callbackURL %>" />
        <button type="submit">Continue</button>
    </form>

    <script>
        document.getElementById("social-login-form")?.submit();
    </script>
    </body>

</html>