コミュニティアチーブメントバーを展開する。

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

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

Avatar

Level 1

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?

 

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 返信

Avatar

Community Advisor

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