hi i am trying to get Vimeo vidoes with hard Coded token but it expires after Some Time , is there a way how can i get Bearer Token Dynamically in Remix.run . Here is My Code to get Videos .
const accessToken = "9304beea5b0540a4d34000a8e7566443?";
const response = await fetch(
`https://api.vimeo.com/users/179667863/videos`,
{
headers: {
Authorization: `Bearer ${accessToken}`,
},
}
);
const data = await response.json();
return data;
};