adonisjs/auth

Why my token from auth "memberjwt" valid on middleware "jwt" auth ?

anggi117 opened this issue · 1 comments

I have 2 auth JWT (jwt and memberjwt)
image

and im already set the middleware to "jwt" in route.
image

but why my token generate from "memberjwt" auth valid on auth "jwt" ?

is there any solution?

this my route using auth "memberjwt" and email its : kotnol@gmail.com
image

but im check it using auth.getuser() its still showing with different data, even though that token from memberjwt
image

i want that token from "memberjwt" auth its invalid in "jwt" auth

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.