adonisjs / auth

Official Authentication package for AdonisJS
https://docs.adonisjs.com/guides/auth/introduction
MIT License
191 stars 65 forks source link

There is some out of the box way to implement refresh token for API? #182

Closed RaphaelBatagini closed 2 years ago

RaphaelBatagini commented 2 years ago

In AdonisJS v4, I was able to add refresh token to my authentication action as described here.

Now, using AdonisJS v5, I am unable to find something related to this in the documentation. Something like this "withRefreshToken" exists in v5? Any lead about how can I proceed? (using API auth)

thetutlage commented 2 years ago

Explained here https://github.com/adonisjs/core/discussions/2039#discussioncomment-201869