UNPKG

@nerdlat/auth

Version:

Authentication library similar to Clerk for React and Express applications

48 lines (47 loc) 1.49 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.providerConfig = void 0; exports.providerConfig = { google: { clientId: '', redirectUri: '/auth/callback/google', scope: 'openid email profile', authUrl: 'https://accounts.google.com/o/oauth2/v2/auth', }, discord: { clientId: '', redirectUri: '/auth/callback/discord', scope: 'identify email', authUrl: 'https://discord.com/api/oauth2/authorize', }, instagram: { clientId: '', redirectUri: '/auth/callback/instagram', scope: 'user_profile,user_media', authUrl: 'https://api.instagram.com/oauth/authorize', }, facebook: { clientId: '', redirectUri: '/auth/callback/facebook', scope: 'email,public_profile', authUrl: 'https://www.facebook.com/v18.0/dialog/oauth', }, twitter: { clientId: '', redirectUri: '/auth/callback/twitter', scope: 'tweet.read users.read', authUrl: 'https://twitter.com/i/oauth2/authorize', }, github: { clientId: '', redirectUri: '/auth/callback/github', scope: 'user:email', authUrl: 'https://github.com/login/oauth/authorize', }, linkedin: { clientId: '', redirectUri: '/auth/callback/linkedin', scope: 'r_liteprofile r_emailaddress', authUrl: 'https://www.linkedin.com/oauth/v2/authorization', }, };