adonisjs / auth

Official Authentication package for AdonisJS
https://docs.adonisjs.com/guides/auth/introduction
MIT License
187 stars 65 forks source link

Support custom token provider with documentation and example #199

Closed buzzware closed 1 year ago

buzzware commented 2 years ago

Why this feature is required (specific use-cases will be appreciated)?

Just as the process for providing a custom user provider is documented here https://docs.adonisjs.com/guides/auth/custom-user-provider there are many authentication servers such as Firebase Auth and IdentityServer that could be integrated with a custom token provider, but Adonis seems to only support either database or redis TokenProviders.

Have you tried any other work arounds?

Not yet

Are you willing to work on it with little guidance?

Yes

thetutlage commented 2 years ago

It will require some internal architecture changes. Lemme see if I can pick it up in coming days

geoguide commented 2 years ago

Would this include auth0 token provider functionality? I've been banging against this and it's prevented my project from moving forward. It'd be nice to figure out if we could leverage passport to handle it somehow.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.