adonisjs / v6-docs

Documentation website for AdonisJS v6
42 stars 69 forks source link

Creating a custom auth guard guide doesn't work #52

Closed Giovanny-DS closed 6 months ago

Giovanny-DS commented 7 months ago

Package version

9.1.1

Describe the bug

the adonisjs V6 guide for JWT:

https://docs.adonisjs.com/guides/auth-custom-guards

doesn't work there are multiple type errors like this. since these contracts seems to have been removed in this commit: https://github.com/adonisjs/auth/commit/f5c83c0ced6694a3a433915e2f5840ee5f8c6064

image

Reproduction repo

Follow the official guide: https://docs.adonisjs.com/guides/auth-custom-guards