<?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>topic Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4656756#M60504</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;This issue is more closely related to Azure B2C.To move forward and further assist you in resolving this issue, we need a Q&amp;amp;A thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please create a new Q&amp;amp;A post at &lt;A class="" title="https://learn.microsoft.com/en-us/answers/questions/ask/" href="https://learn.microsoft.com/en-us/answers/questions/ask/" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/answers/questions/ask/"&gt;https://learn.microsoft.com/en-us/answers/questions/ask/ and Add Microsoft Entra ID tag.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Chaithra.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692260"&gt;@bhartisharma_in&lt;/a&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 05:28:14 GMT</pubDate>
    <dc:creator>v-echaithra</dc:creator>
    <dc:date>2025-04-17T05:28:14Z</dc:date>
    <item>
      <title>Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4655136#M60477</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;We have a main site built with React and a Power Pages site. The Power Pages site is embedded in the main site via an iframe. The main site uses Azure B2C for authentication, and we want the Power Pages site to automatically log in using the same Azure B2C.&lt;/P&gt;&lt;P&gt;I've implemented passing the authentication token from the main website to the embedded Power Pages site using the postMessage API. Here’s a brief summary of the approach I’ve followed:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main Website Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="plaintext"&gt;iframe.contentWindow.postMessage({ authToken: authToken }, 'https://powerpages.example.com');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Power Pages Custom Javascript&amp;amp;colon;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="plaintext"&gt;window.addEventListener('message', function(event) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (event.origin === 'https://mainwebsite.com') {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var authToken = event.data.authToken;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Process token here
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Despite implementing this, the token is still not being passed correctly to the Power Pages iframe. Has anyone encountered a similar issue or have any suggestions on what might be going wrong?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance for your help!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 07:07:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4655136#M60477</guid>
      <dc:creator>bhartisharma_in</dc:creator>
      <dc:date>2025-04-16T07:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4656756#M60504</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;This issue is more closely related to Azure B2C.To move forward and further assist you in resolving this issue, we need a Q&amp;amp;A thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please create a new Q&amp;amp;A post at &lt;A class="" title="https://learn.microsoft.com/en-us/answers/questions/ask/" href="https://learn.microsoft.com/en-us/answers/questions/ask/" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/answers/questions/ask/"&gt;https://learn.microsoft.com/en-us/answers/questions/ask/ and Add Microsoft Entra ID tag.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Chaithra.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692260"&gt;@bhartisharma_in&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 05:28:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4656756#M60504</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-04-17T05:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4657166#M60511</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1250534"&gt;@v-echaithra&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion. I have created the &lt;A href="https://learn.microsoft.com/en-us/answers/questions/2258924/issue-with-passing-azure-b2c-authentication-token" target="_self"&gt;Q&amp;amp;A post&lt;/A&gt;&amp;nbsp;and added the Microsoft Entra ID tag as requested.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Bharti&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 09:50:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4657166#M60511</guid>
      <dc:creator>bhartisharma_in</dc:creator>
      <dc:date>2025-04-17T09:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4660773#M60594</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692260"&gt;@bhartisharma_in&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the issue got resolved? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chaithra.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 09:59:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4660773#M60594</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-04-21T09:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4684836#M61074</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692260"&gt;@bhartisharma_in&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chaithra.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 12:18:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4684836#M61074</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-05-08T12:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4688351#M61126</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692260"&gt;@bhartisharma_in&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chaithra.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 05:47:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4688351#M61126</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-05-12T05:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Passing Azure B2C Authentication Token to Embedded Power Pages Site</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4688627#M61134</link>
      <description>&lt;P&gt;Hi Chaithra,&lt;/P&gt;&lt;P&gt;Thank you for following up. Unfortunately, I am still facing the same issue and haven't found any helpful information on the Q&amp;amp;A post either.&lt;BR /&gt;Regards,&lt;BR /&gt;Bharti&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 07:31:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Passing-Azure-B2C-Authentication-Token-to-Embedded/m-p/4688627#M61134</guid>
      <dc:creator>bhartisharma_in</dc:creator>
      <dc:date>2025-05-12T07:31:21Z</dc:date>
    </item>
  </channel>
</rss>

