New Releases
Introducing the New Authentication API v2.0
We've completely redesigned our authentication service to provide a more robust and secure platform.
Key Features: - **OAuth 2.0 and OpenID Connect:** Full compliance with modern standards. - **Biometric Authentication:** Support for Touch ID, Face ID, and other biometric factors. - **Improved Performance:** Reduced latency for token issuance and validation.
Getting Started To upgrade to the new API, you'll need to update your client libraries and authentication flow. Here is a quick example of how to get an access token:
javascript
import { AuthClient } from '@api-insights/client';
const authClient = new AuthClient({
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET',
});
async function getAccessToken() {
try {
const token = await authClient.getAccessToken({
grantType: 'client_credentials',
scope: 'read:data',
});
console.log('Access Token:', token);
} catch (error) {
console.error('Error getting access token:', error);
}
}
getAccessToken();
We have also updated our documentation to reflect these changes. Please refer to the new Auth API v2.0 docs for detailed integration guides.