How to refresh the session with no access to `refresh_token`?
So in my web app where supabase client is initiated I have an
Chrome extension makes a request to that endpoint while taking the bearer from the browser cookie.
But unless user goes to the web app to trigger
How could I update the token in the cookie while the extension makes the request? Reason I mentioned
/upload API that expects a bearer token and then makes a supabase query.Chrome extension makes a request to that endpoint while taking the bearer from the browser cookie.
But unless user goes to the web app to trigger
getSession() updating the access token, token expires so the reqeust fails.How could I update the token in the cookie while the extension makes the request? Reason I mentioned
refresh_token is because I was trying to fit in the https://supabase.com/docs/reference/javascript/auth-refreshsession?example=refresh-session-using-a-passed-in-session, but don't think that's possible via the API endpoint anyway without visiting the client.