HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
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>