APIs & Integrations

rechavar
Teilnehmer/-in

Update secrets value using custom code

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.

6 Antworten
padamopoulou
Teilnehmer/-in

Update secrets value using custom code

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

0 Upvotes
WaydeChristie1
Mitwirkender/Mitwirkende

Update secrets value using custom code

Jaycee_Lewis
Community-Manager/-in
Community-Manager/-in

Update secrets value using custom code

Thanks for sharing! I added an upvote


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes
taran42
Mitwirkender/Mitwirkende

Update secrets value using custom code

@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 Upvotes
rechavar
Teilnehmer/-in

Update secrets value using custom code

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 Upvotes
Jaycee_Lewis
Community-Manager/-in
Community-Manager/-in

Update secrets value using custom code

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


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes