cancel
Showing results for 
Search instead for 
Did you mean: 

How to properly access EPD Application from Mobile Services?

yann_bouschet
Explorer
0 Kudos

Hi,

We are developing natives apps based of SAP BTP SDK. These apps are using Mobile Services to onboard the user.

Then the apps should interface with an EPD application, our subaccount is subscribed to, in order to download a list of assets. (scenes)

I spent last couple of days trying to make that work, from documentation only.
It's maybe just the right redirection setup to put in place, but so far no luck.

We need to make progress now, help would be appreciated at that point.

Thanks,
Yann

gregorw
Active Contributor
0 Kudos

Can you provide more details what this EPD application actually means? Links to documentation?

yann_bouschet
Explorer
0 Kudos

Thank you for the interest.

EPD stands for SAP Enterprise Product Development.

Documentation from BTP link to :
https://help.sap.com/viewer/product/PLM_EPD/Cloud/en-US?task=discover_task

gregorw
Active Contributor
0 Kudos

Would be nice if you could describe what you actually want to achieve. Do you want to use the API's? Then you should check out the documentation Configuration for Using APIs.

yann_bouschet
Explorer
0 Kudos

The mobile application should let a user sign in, then allow to download a list of assets from SAP Enterprise Product Development.

The configuration for using API is done already, we have a EPD service instance running.

The issue is when the app is calling EPD endpoints, I get error messages saying full authentication is required to access the asset. But at that point my native app is already signed in properly via mobile services. It seems the authentication is not forwarded to the EPD service.
So I think it's a configuration missing or wrongly done somewhere on BTP, but I cannot find it.

gregorw
Active Contributor
0 Kudos

Have you tried using the API with the service keys using REST Client or Postman? Which of the API's from SAP Enterprise Product Development do you use?

yann_bouschet
Explorer
0 Kudos

We are using the storage API (https://api.sap.com/api/EPD_VISUALIZATION_STORAGE/resource) which works great when we access it directly with Postman. We get a correct oauth token and can call the EPD service.

But when authenticating via Mobile Services, the token is not accepted by the EPD service, I get error message saying "Full authentication is required to access".
So I guess it's an issue around configuring correctly xsuaa between Mobile Services and EPD service.

gregorw
Active Contributor
0 Kudos

Would think so too. I would suggest to file an incident.

Accepted Solutions (0)

Answers (0)