Auth 4.2

The v4.2 release adds support for the database backed opaque tokens to implement authentication for restful APIs. Click here for the documentation.

Upgrade using the following command

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


  • addition: Add support for oat tokens f59a1e0
  • change: Instructions to setup config and contracts file for the tokens auth a77b124
  • improvement: Add support for adding expiry to oat tokens 6fbfa64

On this page

Table of contents