@pixxle/oauth-ionic
Version:
Pixxle OAuth authentication module for Ionic Angular applications - Direct implementation that works - Tested and proven
15 lines (13 loc) • 668 B
text/typescript
import { OAuthConfig } from '@pixxle/oauth-ionic';
export const PIXXLE_OAUTH_CONFIG: OAuthConfig = {
clientId: 'VOTRE_CLIENT_ID', // Remplacez par votre client_id
clientSecret: 'VOTRE_CLIENT_SECRET', // Remplacez par votre client_secret
redirectUri: 'com.pixxle.oauth://callback',
authUrl: 'https://www.pixxle.me/oauth/v2/authorize',
tokenUrl: 'https://www.pixxle.me/v2/oauth/token',
userInfoUrl: 'https://api.pixxle.me/api/access/user',
authUrlFallback: 'https://109.234.165.214/oauth/v2/authorize',
tokenUrlFallback: 'https://109.234.165.214/v2/oauth/token',
userInfoUrlFallback: 'https://109.234.165.214/api/access/user',
scope: 'user.full'
};