Sign in with Looping Binary
Add our OAuth button to your website and let users sign in with their LoopingBinary account. One account gives users access to all connected platforms in our ecosystem.
Why Use "Sign in with Looping Binary"?
Instant Registration
Users click one button and they're in. No forms, no verification emails, no friction.
Enterprise Security
Battle-tested authentication with encryption, rate limiting, and 2FA support.
Shared User Base
Tap into our growing ecosystem of users across multiple platforms.
Free Forever
OAuth authentication is completely free. No usage limits, no hidden fees.
The Button
Here's what the "Sign in with Looping Binary" button looks like:
💡 Brand Guidelines: We provide official button assets, logos, and design guidelines to ensure consistent branding across all integrations.
Quick Setup Guide
Register Your Application
Contact us at oauth@loopingbinary.com with:
- Your application name
- Your website URL
- Authorized redirect URIs (callback URLs)
- Application description and logo
We'll send you your Client ID and Client Secret within 24 hours.
Add the Button to Your Site
Add our OAuth button to your login page:
<a href="https://auth.loopingbinary.com/oauth/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_CALLBACK_URL&response_type=code&scope=profile email"
class="lb-oauth-button">
<svg viewBox="0 0 24 24" fill="none">
<path d="M12 2L2 7L12 12L22 7L12 2Z" fill="currentColor"/>
<path d="M2 17L12 22L22 17" stroke="currentColor"/>
<path d="M2 12L12 17L22 12" stroke="currentColor"/>
</svg>
Sign in with Looping Binary
</a>Handle the Callback
When users authorize, they'll be redirected to your callback URL with an authorization code. Exchange it for an access token:
// Exchange authorization code for access token
const response = await fetch('https://auth.loopingbinary.com/oauth/token', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(({
client_id: process.env.LB_CLIENT_ID,
client_secret: process.env.LB_CLIENT_SECRET,
code: authorizationCode,
redirect_uri: 'https://yourapp.com/callback',
grant_type: 'authorization_code'
})
});
const { access_token, refresh_token, user } = await response.json();
// Now you have the user's info and access token!
console.log('User logged in:', user.email);
// Store the access token securely
req.session.accessToken = access_token;Get User Information
Use the access token to get user profile data:
// Get user profile with access token
const userResponse = await fetch('https://api.loopingbinary.com/api/auth/me', {
headers: {
'Authorization': 'Bearer ' + access_token
}
});
const userData = await userResponse.json();
console.log('User Profile:', userData);
// {
// id: 12345,
// email: 'user@example.com',
// fullName: 'John Doe',
// role: 'USER',
// isVerified: true,
// wallet: { balance: 100 }
// }OAuth Scopes
Request specific permissions from users:
| Scope | Description |
|---|---|
| profile | Access to user ID, name, and basic profile |
| Access to user's email address | |
| wallet | Access to user's coin balance (premium only) |
| transactions | Access to transaction history (premium only) |
🎉 Join Our Growing Ecosystem
Hundreds of applications already use "Sign in with Looping Binary" to provide seamless authentication to their users. Be part of the next generation of connected applications!
Ready to Get Started?
Contact our OAuth team today and we'll have you up and running in 24 hours!