adonisjs / auth

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

Separated auth for admin, user models #177

Closed tiagocdr closed 3 years ago

tiagocdr commented 3 years ago

Separated auth for admin, user models #121 Referencing this question in the past, how do you go about doing this nowadays with the new adonis5 ts app? I've gone trough the documentation and it instructs to add a new provider inside the Providers and same with the GuardsList inside 'contracts/auth.ts' but it doesn't go any further than that. Thanks in advance!

thetutlage commented 3 years ago

Issue doesn't adhere to the guidelines of creating a proper issue.

  1. Make sure that you are only reporting bugs or submitting feature requests on Github.
  2. In case of feature requests, please be descriptive and explain how this feature helps a broader audience and not just you.

If you are not submitting a bug and neither a feature request, then please use the discussion threads

In any case, issues which are not descriptive enough will be closed. Please respect our time.

tiagocdr commented 3 years ago

Ok I understand sorry about that.