๐Ÿงช PLAYGROUND

OAuth Test Playground

Test your OAuth integration right here โ€” no separate app needed.
Enter your credentials and walk through the complete flow.

1Get Your Credentials

First, register an OAuth app in the Developer Console. Use the redirect URI below when creating your app:

Loading...

2Enter Credentials

Credentials are stored in your browser's session only โ€” never sent to any server except during the test.

3Run The OAuth Flow

Click below to start the full OAuth 2.0 Authorization Code flow. You'll be redirected to the Deevo login, then the consent screen, then back here with the result.

What Happens

โ†’You click "Start OAuth Test" and get redirected to the Deevo login page
โ†’After logging in, the consent screen asks you to approve access
โ†’You're redirected back to /test/callback?code=xxx
โœ“The code is exchanged for an access token + user profile โ€” results shown on screen

Equivalent SDK Code

import { DeevoAuth } from 'deevo-oauth';

const deevo = new DeevoAuth({
  clientId: 'YOUR_CLIENT_ID',
  clientSecret: 'YOUR_CLIENT_SECRET',
  redirectUri: 'https://yourapp.com/auth/callback',
});

// Step 1: Redirect user to login
const loginUrl = deevo.getAuthUrl();
// โ†’ redirect user to loginUrl

// Step 2: Handle callback
const { accessToken, user } = await deevo.handleCallback(code);
console.log(user.name, user.email);