Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

109
Visualizações
How do I get Auth0 custom action to send Axios Requests

I am trying to use custom actions with Auth0 to create a user profile in my Cloudflare KV through a Worker. I am getting an error of "Request failed with status code 503" and no logs from Cloudflare. I have ensured I have added axios as a package etc. But it isn't working for some reason, and if I do the call normally outside of Auth0 it works fine.

const axios = require("axios");

/**
 * @param {Event} event - Details about registration event.
 */
exports.onExecutePostUserRegistration = async (event) => {
  await axios.post("https://blahblahblah.com/createuser", { params: { "id": event.user.user_id,
  "name": event.user.name,
  "email": event.user.email,
  "image": event.user.picture }});     
};

UPDATE:

I am able to send requests with the cloudflare dev domain so maybe my domain is blocked?

It's just the values are outputting as null now?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This seems like an issue on your servers end, have you tried changing the Cloudflare dev URL?

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda