Hello Fabien,
I apologize in advance, but I'd like to request a little clarification on the sentence: "My question is: Why do I have to login to Portal if I choose the option 1 and 2? Because if i choose option 3 the result is the same after having embeded: I can view the Insights page as well as if I had chosen option 1 or 2."
But, let me clarify what I meant in my previous answer:
- View your shared page
- Access your page item
The first two options have the URL: portal/apps/insights/#/view/<IDofthePage>. This page forces you to login to Portal for ArcGIS because both these pages allow users to seek the internal Portal documentation links. You can also sign out of Insights by just choosing your profile on the top right. You can also see the Analysis view of the steps that were performed. Most of these require atleast level 1 viewer privileges.
- Embed (coping the <iframe> code and paste it into the source coude of my website)
To circumvent the problem with sharing your results on a page in Insights to other people who're not members in Portal, you can use the embed URL: portal/apps/insights/index.html#/embed/<IDofthePage>. This gives an embed view of the Insights page without a full context of how Insights actually looks like, which allows someone who is not a member in Portal to see it. You cannot sign out of Insights or do any of the operations on an embed view.
Hope that explains.
Thanks,
Aravind