JWT Authentication configuration not work in Auth.ts file in Adonis 5 #2011
-
Adonis 5 in the configuration in Auth.ts file to give an error.Auth.ts import { AuthConfig } from '@IOC:Adonis/Addons/Auth' const authConfig: AuthConfig = { ............................................... Error : - Exception: Invalid guard driver "jwt" property anyone can this solution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Where in the docs you have read that we support |
Beta Was this translation helpful? Give feedback.
-
|
I did an implementation using adonis guard, which I consider to be the "most correct" way. |
Beta Was this translation helpful? Give feedback.
Where in the docs you have read that we support
jwt?