<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Flows - Avoid loop when running flows published as web applications in Workforce Identity Articles</title>
    <link>https://live.paloaltonetworks.com/t5/workforce-identity-articles/flows-avoid-loop-when-running-flows-published-as-web/ta-p/1427852</link>
    <description>&lt;P&gt;It can happen that users are not able to run flows published as web applications. Instead, once the user clicked on the published flow in the user portal, a new tab will be opened but the flow will never run, instead it will keep loading. It usually happens when the number of Identity roles assigned to the user attempting to run the flow is too high. This article explains how to workaround this issue.&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P&gt;As mentioned in the introduction of this article, the root cause of the issue is the high number of roles assigned to the user.&lt;/P&gt;
&lt;P&gt;Every time a flow is published as a web application, the same structure is generated for the ID token:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OJCqu.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99304i49B20A3B1C42BAB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OJCqu.png" alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OJCqu.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Although Flows must get the roles of the user from the token, it only needs the names of the roles.&lt;/P&gt;
&lt;P&gt;In the structure of the token displayed above, two claims provide this information:&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;'user_roles' provides the names of the roles the user belongs to&lt;/LI&gt;&lt;LI&gt;'Roles' provides the names and the ID of the roles the user belongs to&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;To decrease the size of the token without losing the information that Flows needs to properly authorize the user, simply comment the 'Roles' claim as below, then hit the Save button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OK5fF.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99305i3A6AF8565314AB4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OK5fF.png" alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OK5fF.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Users should now be able to run flows published as web applications.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 19:18:48 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-07-07T19:18:48Z</dc:date>
    <item>
      <title>Flows - Avoid loop when running flows published as web applications</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-articles/flows-avoid-loop-when-running-flows-published-as-web/ta-p/1427852</link>
      <description>&lt;P&gt;It can happen that users are not able to run flows published as web applications. Instead, once the user clicked on the published flow in the user portal, a new tab will be opened but the flow will never run, instead it will keep loading. It usually happens when the number of Identity roles assigned to the user attempting to run the flow is too high. This article explains how to workaround this issue.&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P&gt;As mentioned in the introduction of this article, the root cause of the issue is the high number of roles assigned to the user.&lt;/P&gt;
&lt;P&gt;Every time a flow is published as a web application, the same structure is generated for the ID token:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OJCqu.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99304i49B20A3B1C42BAB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OJCqu.png" alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OJCqu.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Although Flows must get the roles of the user from the token, it only needs the names of the roles.&lt;/P&gt;
&lt;P&gt;In the structure of the token displayed above, two claims provide this information:&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;'user_roles' provides the names of the roles the user belongs to&lt;/LI&gt;&lt;LI&gt;'Roles' provides the names and the ID of the roles the user belongs to&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;To decrease the size of the token without losing the information that Flows needs to properly authorize the user, simply comment the 'Roles' claim as below, then hit the Save button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OK5fF.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/99305i3A6AF8565314AB4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OK5fF.png" alt="ka3Vy0000073fc5IAA__eid=ka3Vy0000073fc5&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EMVy00000OK5fF.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Users should now be able to run flows published as web applications.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 19:18:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-articles/flows-avoid-loop-when-running-flows-published-as-web/ta-p/1427852</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-07-07T19:18:48Z</dc:date>
    </item>
  </channel>
</rss>

