Custom provider
irwing-reza opened this issue · 6 comments
Hi,
Is there a guide for writing a custom provider for Ally?
Thanks
Yup, working on it. Which provider you want to add?
Awesome, facebook and linkedin.
👍 +1 I also need some guidance on this topic
Added linkedin and discord in v3.3.0
. Facebook + guides for adding a custom social provider will be out soon as well
So I recently forked the ally code and implemented the Reddit provider using the same framework as the others already in the project. (Essentially, I duplicated the Discord provider and made the necessary modifications.)
Do you want to include it in the ally project with the other providers or should I just go ahead and publish a standalone npm package following the process you posted earlier this week?
Here's the code:
We have got a boilerplate repo with docs in README on how to create and test custom drivers https://github.com/adonisjs-community/ally-driver-boilerplate