• Créditos da HubSpot: Desbloqueie ferramentas poderosas para o crescimento

    Dúvidas?

APIs & Integrations

rechavar
Participante

Update secrets value using custom code

resolver

Hi everybody!!! Happy Summer!!!!
So.. Once again its me looking for answers 😅
The thing is, I have a custome code in a workflow, this custom code inputs secrets, the access token and the refresh token for whatever API. I need to update the access token using the refresh token when access token get declined, as always, one last and thing, Im using python.
Hope that someone can helps me with this situation, been looking on forum and documentation but nothing that can fullfil my situation.

1 Solução aceita
WaydeChristie1
Solução
Colaborador(a)

Update secrets value using custom code

resolver
6 Respostas 6
padamopoulou
Participante

Update secrets value using custom code

resolver

Hello everyone, do we have any updates on this one? It's a requirement I also need . TY!

0 Avaliação positiva
WaydeChristie1
Solução
Colaborador(a)

Update secrets value using custom code

resolver
Jaycee_Lewis
Gerente da Comunidade
Gerente da Comunidade

Update secrets value using custom code

resolver

Thanks for sharing! I added an upvote





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Avaliação positiva
taran42
Colaborador(a)

Update secrets value using custom code

resolver

@rechavar This isn't a task that I am familiar with performing myself, so I can only make a recommendations.

 

I'd start by checking out the Hubspot documentation here: Refresh OAuth 2.0 access token 

 

There's also a good article detailing the process here: How to get HubSpot API key and Access Token 

0 Avaliação positiva
rechavar
Participante

Update secrets value using custom code

resolver

Mmmm not what i need, look, i have the access token an the refresh token of other API. The thing is, this values are input in my custom code as secret, but the custome code needs to change the access token using the refresh token when the AT fails in the authentication process. so... how can i change these secrets using python as my programming lenguage in the custome code??

0 Avaliação positiva
Jaycee_Lewis
Gerente da Comunidade
Gerente da Comunidade

Update secrets value using custom code

resolver

Hey, @rechavar 👋 Thanks for the question. Let's see if we can get the conversation started —  @taran42 do you have any thought on if this is possible? Or what additional details @rechavar can provide to give more context here?

 

Thank you! — Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Avaliação positiva