How to obtain my bearer token from an Adobe Launch extension? | Community
Skip to main content
September 15, 2025
Solved

How to obtain my bearer token from an Adobe Launch extension?

  • September 15, 2025
  • 1 reply
  • 411 views

I'm currently developing a Data Collection (Launch) extension where I'll be utilizing the reactor.adobe.io API from within the extension.

 

Everything works great, but I'm required to update my bearer token every 24 hours manually.

 

I want the extension to automatically fetch a new bearer token when the old one expires.

 

To that end, I'm trying to refresh my bearer token from the endpoint ("https://ims-na1.adobelogin.com/ims/token/v3") when the token expires, but I'm receiving a CORS error.

 

Is this a feasible approach, or is there a better way to use the reactor API from within a data collection (launch) extension to avoid the CORS error?

 

Best answer by arpan-garg

Hello @u103638  - Do you need to do this on client side? I would recommend passing this logic to event forwarding and there you have a way using secrets to automatically make an API call to fetch access token which refreshes automatically after a certain time and later can be utilized in making the subsequent calls.

 

Thanks,

Arpan

1 reply

arpan-garg
Community Advisor
arpan-gargCommunity AdvisorAccepted solution
Community Advisor
September 16, 2025

Hello @u103638  - Do you need to do this on client side? I would recommend passing this logic to event forwarding and there you have a way using secrets to automatically make an API call to fetch access token which refreshes automatically after a certain time and later can be utilized in making the subsequent calls.

 

Thanks,

Arpan