Test your OAuth integration right here โ no separate app needed.
Enter your credentials and walk through the complete flow.
First, register an OAuth app in the Developer Console. Use the redirect URI below when creating your app:
Loading...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.
/test/callback?code=xxximport { 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);