Expand my Community achievements bar.

integrate asset selector with localhost

Avatar

Level 1

We have a requirement to use the adobe dam dynamic assets in our application which is hosted externally.

I'm checking integrating of  Micro-Frontend Asset Selector with localhost. I like to know if it possible to raise a support ticket with localhost as domain for providing with imsClientId, imsScope, and a redirectUrl for the integration.

I'm new to adobe assets so please elaborate your answers. Thanks in advance.

5 Replies

Avatar

Community Advisor

Hi @user26192 

Here is the example of Assets Selector integration with non- adobe app

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/manage/as... 

 

I don't think so you can use locally hosted AEM DAM for this, this must be a Assets on Cloud.



Arun Patidar

Avatar

Level 1

Let me summarize the requirement.

- My client is having their assets with adobe
- We have another application which need to use those assets
- We are planing to integrate Asset selector as mentioned in the doc https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/manage/as...

While doing POC, I like to check the working of the adobe assets selector locally. As the client needs to submit the support request for getting the imsClientId, imsScope and redirectUrl for the intergration. In the support request they need Domain names where the non-Adobe web application is hosted, can we use localhost as hosted domain in the support request for getting the credentials as I need to check it with the locally. ?

Also I like to know how development and debugging are done for asset selector if they don't support localhost?


Avatar

Community Advisor

Hi @user26192 

 

You can confirm with Adobe if they support localhost by default.

If not, you can configure localhost to run under one of your listed domains. For example, refer to this guide:

Localhost on HTTPS using a custom domain.

https://emmapopoola.medium.com/setting-up-a-custom-domain-for-your-local-apps-mac-os-linux-c68798722... 



Arun Patidar

Avatar

Community Advisor

Hi,

 

It's likely that localhost isn't supported, but as Arun mentioned, you can configure your local environment to resolve the domain you'll provide to Adobe. As for development and debugging, there's not much to "develop" since this is a product meant for consumption. You only need to adjust the CSS, which can be done live using the browser inspector.

 

Hope this helps!



Esteban Bustamante

Avatar

Community Advisor

Hi @user26192 

 

You can refer this github repo for examples on how this could be used for various javascript frameworks - https://github.com/adobe/aem-assets-selectors-mfe-examples

 

Thanks

Narendra