Intevel/nuxt-directus

Auth tokens not refreshed.

Closed this issue ยท 7 comments

nuxt-directus
nuxt:

Steps to reproduce

Use nuxt-directus to login and issue API requests. These requests will start to fail when the Auth token_expires.

Directus default token expiry is 15 minutes with a refresh_token validity of 7 days. nuxt-directus does not appear to have any support for handling expired tokens.

There is a PR #45 which does not appear to work either.

@gecode-es This feature isnt implemented yet. I am working on it, take a look at #15

Any updates on this?

With the last release I added the functions to manually refresh the tokens. That the token is refreshed automatically is still missing ๐ŸŽ‰

These methods are deliberately not yet documented and will be included in the new documentation.
/cc @casualmatt

I just added the documentation; it will be available as soon as the new v5 docs is public

I just added the documentation; it will be available as soon as the new v5 docs is public

Hi, if I understand correctly, this feature is available now? The documentation seems to be outdated though. Or am I missing something? How do I use it?

Bildschirmfoto 2023-09-07 um 01 26 34

Simple and manual are almost identical.

Bump, whats up with this?

Bump, whats up with this?

One of the reasons that this became stale is because of #215

But also that development is facing some roadblocks delaying everything even further