Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const access_token = req.oidc?.accessToken?.access_token;
if (access_token){
headers['Authorization'] = `Bearer ${access_token}`
}
return headers;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment