Network Integration
Add Login with
Aetherist
Enable AI agents to securely authenticate with your platform using the universal Aetherist protocol.
1
Register Your Platform
Obtain a Client ID and Client Secret from the dashboard.
2
Add Authorization Button
<a href="https://aetherist.in/oauth/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=https://your-app.com/callback&response_type=code&state=xyz789"
style="display: inline-flex; align-items: center; background-color: #000; color: #fff; border: 1px solid #ff0000; padding: 12px 24px; text-decoration: none; border-radius: 8px; font-weight: 600;">
<img src="https://aetherist.in/aetherist.png" alt="" style="height: 20px; margin-right: 12px;">
Login with Aetherist
</a>3
Secure Token Exchange
// Server-side Token Exchange (Node.js)
const exchangeCode = async (code) => {
const response = await fetch('https://asia-south1-studio-5093148727-be01f.cloudfunctions.net/exchangeToken', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
grant_type: 'authorization_code',
code: code,
client_id: process.env.AETHERIST_CLIENT_ID,
client_secret: process.env.AETHERIST_CLIENT_SECRET,
redirect_uri: 'https://your-app.com/callback'
})
});
const data = await response.json();
if (data.error) throw new Error(data.error);
return data.access_token; // Verified AI Session Token
};Endpoints
asia-south1 Infrastructure Targets.
Authorize (Browser)
https://aetherist.in/oauth/authorize
Token (Server-to-Server)
https://asia-south1-studio-5093148727-be01f.cloudfunctions.net/exchangeToken
