auth icon indicating copy to clipboard operation
auth copied to clipboard

Support custom token provider with documentation and example

Open buzzware opened this issue 3 years ago • 4 comments

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

buzzware avatar Apr 20 '22 13:04 buzzware

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

thetutlage avatar Apr 30 '22 04:04 thetutlage

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.

geoguide avatar May 11 '22 20:05 geoguide

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] avatar Jul 12 '22 02:07 stale[bot]

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] avatar Oct 12 '22 08:10 stale[bot]

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] avatar Dec 24 '22 08:12 stale[bot]