Auth 4.3

The v4.3 release adds support for the basic auth. Click here for the documentation.

Upgrade using the following command

npm i @adonisjs/[email protected]
yarn add @adonisjs/[email protected]


  • addition: Add support for basic auth 9d684e82

Updating Auth Middleware

The Auth middleware stored inside app/Middleware/Auth.ts file has been updated to pass the guard name to the raised exception. We recommend upgrading the middleware source for correct behavior.

If you have not made any changes to the middleware, then simply copy/paste the contents from this stub.

On this page