Documentation on Custom Providers
What is the improvement or update you wish to see?
Would be great to have a good documentation explainin on how to create a custom authentication provider, as we had on previous versions
Is there any context that might help us understand?
On previous versions, we had the possibility to extend the providers creating custom providers. One example would be to have an Email Provider supporting Amazon SES as email service.
Does the docs page already exist? Please link to it.
No response
Yeah that makes sense. We have the following general "extend the providers" / "use your own provider" guide: https://authjs.dev/guides/configuring-oauth-providers#use-your-own-provider
And for email specifically: https://authjs.dev/guides/configuring-http-email
Do those cover what you're looking for?
That could help for advanced users, but the documentations should be more user friendly for intermediate users as well. The type definitions are not clear on the examples, you need to dig into the core code to understand how other providers were implemented. After spending a lot of time I could understand and implement it, but felt I spent way more time that should be needed for such task. I understand this is temporary since things are moving faster for v5 but documentations is a very important topic for tech adoption
Yeah I can definitely appreciate that. What would you recommend for making those two examples I provided above, for example, more beginner / intermediate friendly?
Going to close this issue, feel free to open a PR with any improvements you may see and we can talk about it more there :pray: