Signonify Mini Apps
  1. Authenticate (OAuth2)
Signonify Mini Apps
  • Getting Started
  • Authenticate (OAuth2)
    • /oauth/authorize
      GET
    • /oauth/token
      POST
    • /oauth/userinfo
      GET
  1. Authenticate (OAuth2)

/oauth/authorize

GET
/oauth/authorize
To authenticate with OAuth2.0 method, copy the path of this API to the browser and add the necessary parameters.

Request

Query Params

Responses

🟢200OK
text/html
Body

Example
<!DOCTYPE html>
<html>
<head>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
</head>
<body class="p-5 bg-body-tertiary">

<main class="form-signin w-50 mx-auto">
    <div class="card shadow-md">
        <div class="card-body">
            <h3>Auth</h3>
            <div class="mb-4">Your account: <strong>demo@demo.com</strong> <a href="./logout.php">Logout</a></div>
            <!-- Login Form -->
            <form method="POST">
                <label class="mb-3 d-block"><strong>Signonify.com</strong> want to connect to your account.</label>
                <div class="mb-4 text-center">
                    <input type="submit" name="allow" class="btn btn-primary" value="Authorize Application">
                    <input type="button" name="deny" class="btn btn-danger" value="Deny">
                </div>

                            </form>

            <div class="mt-3"><small><a href="#">Cancel and go back the website</a></small></div>
        </div>
    </div>
</main>
</body>
</html>
🔵302Redirect
Modified at 2024-09-04 08:25:40
Previous
Getting Started
Next
/oauth/token
Built with