cancel
Showing results for 
Search instead for 
Did you mean: 

Configure 'SAP Cloud Platform Destination' for 'SAP Cloud Identity User Profile Page'

e_giunta
Participant
0 Kudos

Hello experts,

I would like to achieve the following scenario: the user logs into the application (through custom identity provider -> SAP Cloud Identity) and within the same app through the iframe the user profile is displayed (available at https: //tenant-id.accounts.ondemand.com /ui/protected/ProfileManagement).

The problem is that I would like to get this result by setting this link in the destination and taking advantage of the previous login (without having to re-login). Currently I run into the following error:

Uncaught ReferenceError: $ is not defined at <destination name>

In the image there are details on the configuration of the destination and the result I get and on what I would like to get.

Moreover, if I put in the destination a test url like www.google.it the google page is normally displayed in the iframe. Also if I dont use destination and copy/paste https: //tenant-id.accounts.ondemand.com /ui/protected/ProfileManagement url in src of iframe i can see the profile page but I have to repeat login inside iframe. In both this test cases I dont get the previous error.

Does anyone know how to solve this problem? Is it a problem of destination configuration?

Accepted Solutions (1)

Accepted Solutions (1)

lucasvaccaro
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Eugenio,

I think you don't need AppToAppSSO here because the browser will take care of the user session. Try using no authentication.

Or maybe just open the profile page in a new tab.

Regards,
Lucas

Answers (0)