@gerald-lbn/ally-startgg is a Start.gg driver for AdonisJS Ally.
This package is available in the npm registry.
npm install @gerald-lbn/ally-startggNext, configure the package by running the following command.
node ace configure @gerald-lbn/ally-startggThen register the service inside the configuration file config/ally.ts.
// config/ally.ts
import { defineConfig } from '@adonisjs/ally'
import { startgg } from '@gerald-lbn/ally-startgg'
import env from '#start/env'
const allyConfig = defineConfig({
startgg: startgg({
clientId: env.get('STARTGG_CLIENT_ID'),
clientSecret: env.get('STARTGG_CLIENT_SECRET'),
callbackUrl: env.get('STARTGG_CALLBACK_URL'),
scopes: ["user.identity", "user.email"],
}),
})