Skip to content

gerald-lbn/ally-startgg

Repository files navigation

Ally Start.gg Driver

@gerald-lbn/ally-startgg is a Start.gg driver for AdonisJS Ally.

Getting Started

This package is available in the npm registry.

npm install @gerald-lbn/ally-startgg

Next, configure the package by running the following command.

node ace configure @gerald-lbn/ally-startgg

Then 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"],
  }),
})

About

An AdonisJS ally driver for start.gg

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors