feat: Add support for refreshing JWT tokens (#9013)

* feat: Add support for refreshing JWT tokens

* feat: Add refresh method to the auth SDK
This commit is contained in:
Stevche Radevski
2024-09-06 12:58:57 +02:00
committed by GitHub
parent 3ba0ddcd43
commit 62e0c593c8
10 changed files with 136 additions and 50 deletions
@@ -47,7 +47,10 @@ export const createAdminUser = async (
actor_type: "user",
auth_identity_id: authIdentity.id,
},
"test"
"test",
{
expiresIn: "1d",
}
)
adminHeaders.headers["authorization"] = `Bearer ${token}`