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 authored and GitHub committed 2024-09-06 12:58:57 +02:00
1 parent 3ba0ddcd43
commit 62e0c593c8
10 files changed
+136 -50

No files matched your search

@@ -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}`