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:
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}`
|
||||
|
||||
Reference in new issue
Block a user