File: /var/www/html/escueladenegociosdls.sumar.com.py-bk/oauth-test.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Probar OAuth2 con WordPress</title>
</head>
<body>
<h2>Probar login con WordPress (OAuth2)</h2>
<form id="authForm" action="https://cidls.sumar.com.py/oauth/authorize" method="GET">
<input type="hidden" name="response_type" value="code">
<input type="hidden" name="client_id" value="B7tt7y3cRE2PcOSDsZm8smIiKi5N5n3dKWKv4LtE">
<input type="hidden" name="redirect_uri" value="https://escueladenegociosdls.sumar.com.py/admin/oauth2callback.php">
<input type="hidden" name="scope" value="basic">
<input type="hidden" name="state" value="xyz">
<button type="submit">Iniciar sesión con WordPress</button>
</form>
<p>Al hacer clic en el botón, se abrirá la pantalla de inicio de sesión de WordPress. Luego te redirigirá a Moodle con el <code>?code=</code> en la URL.</p>
</body>
</html>