Please add a method to refresh access token in Next.js server actions.
Currently access token is refreshed automatically. The popular use-case for JWT is to have additional data in the JWT, which is later used on backend (after JWT decoding). Currently adding custom data to JWT doesn't allow to see changes immediately, but must sign out or wait 1h for token refresh which is very inconvenient.
Please add a method to refresh access token in Next.js server actions.
Currently access token is refreshed automatically. The popular use-case for JWT is to have additional data in the JWT, which is later used on backend (after JWT decoding). Currently adding custom data to JWT doesn't allow to see changes immediately, but must sign out or wait 1h for token refresh which is very inconvenient.