Hi team,
We are calling the list all authenticators api and facing the following error:
Access to fetch at ‘https://highbeam-staging.us.auth0.com/mfa/authenticators’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
listAuthenticators: {
queryKey: ["listAuthenticators"],
queryFn: async () => {
const mfaToken = await getMfaToken();
return auth0Api
.get<AuthenticatorRep[]>("mfa/authenticators", {
headers: {
Authorization: `Bearer ${mfaToken}`,
},
})
.json();
},
},
The code has correct mfa token as well.
The same was working earlier from the frontend. We are wondering if anything changed in last one month at auth0’s end?
How can we get it to work again from FE?
