nuxt-modules / nuxt-modules/strapi

Update auth composable to include new `refresh` JWT Management

Open
#508 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
717
Forks
89
Avg merge
7h 3m
Merged PRs (30d)
6

Description

Is your feature request related to a problem? Please describe.

In recent times, Strapi added the ability to refresh tokens via the refresh jwtManagement config.

It would be great if for v5, we had this added to the composable.

Describe the solution you'd like

I would love for the composables to be updated to support this new way of doing auth in Strapi

Describe alternatives you've considered
Additional context

The docs can be found here: https://docs.strapi.io/cms/features/users-permissions#jwt-management-modes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the authentication composable in the Nuxt Strapi module and review Strapi's JWT Management Modes documentation linked in the issue. Update the composable to support the refresh jwtManagement configuration, then verify that the refresh-token authentication flow works as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.