You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint we use for fetching a JWT for iterable is itself behind a jwt authorizer - when this user token expires it is unknown how to pass this change to the generateJWT function already initialized in iterable.
in this scenario when the userToken expires and a new iterable JWT needs to be requested the jwt request will fail because it continues to use the expired token. Other workarounds I've tried are using a ref for the function, calling initialize again when the update happens, but none of these will update the generateJWT method.
Possible solution would just be giving us access to some kind of setGenerateJWT functionality.
The text was updated successfully, but these errors were encountered:
Description
The endpoint we use for fetching a JWT for iterable is itself behind a jwt authorizer - when this user token expires it is unknown how to pass this change to the
generateJWT
function already initialized in iterable.Code example:
in this scenario when the userToken expires and a new iterable JWT needs to be requested the jwt request will fail because it continues to use the expired token. Other workarounds I've tried are using a ref for the function, calling initialize again when the update happens, but none of these will update the generateJWT method.
Possible solution would just be giving us access to some kind of
setGenerateJWT
functionality.The text was updated successfully, but these errors were encountered: