Hi Dan,
Thank you for the quick response, I added some metaData manually via the “User Management” tab under “users” yet, I cannot see the metaData inside the user object I am getting after authenticating =>
const { user } = useAuth0();
I also tried this:
const accessToken = await getAccessTokenSilently({
audience: `https://${domain}/api/v2/`,
// scope: "read:current_user",
});
const userDetailsByIdUrl = `https://${domain}/userinfo`;
axios
.get(userDetailsByIdUrl, {
headers: {
Authorization: `Bearer ${accessToken}`,
},
})
.then((response) => {
console.log(response.data);
})
.catch((error) => {
console.log("ERROR API RESPONSE => ", error);
});
} catch (e) {
console.log(e.message);
}
};
but I got the same exact user obect in response.
Where can i see the metaData?
In addition, why https://${domain}/userinfo
; this request is getting through but any other request such as https://${domain}/api/v2/users
returns 403 error