adonisjs / ally

AdonisJS Social Authentication Provider
MIT License
158 stars 54 forks source link

Selecting multiple social providers only generates one in code #122

Closed mattkenefick closed 3 years ago

mattkenefick commented 3 years ago

Package version

"@adonisjs/ally": "^4.0.0",
"@adonisjs/auth": "^8.0.5",
"@adonisjs/core": "^5.1.8",
"@adonisjs/lucid": "^15.0.0",
"@adonisjs/repl": "^3.1.3",

Node.js and npm version

npm --version 7.11.2

node --version v16.1.0

Sample Code (to reproduce the issue)

$ node ace configure @adonisjs/ally ❯ Select social providers you are planning to use · google, facebook

Description

After installing ally and running configuration, I selected facebook and google (I forget which order) and completed configurations. It only generated .env entries + config entries for google. I had to manually add facebook; looked like a bug.

thetutlage commented 3 years ago

The issue was just with the facebook one. Fixed