Forum Discussion

bcr901's avatar
bcr901
Frequent Visitor
2 years ago
Solved

Sign in fails for embedded report

I see a lot of history for this issue.  The latest I'm aware of is issue ID 532 that talks about this issue.  In Issue ID 532, they talk about reloading the browser window after clicking the "Sign in" button for the embedded visual.  This previously worked as described in Issue ID 532, but no longer works as of today 12/18/23.   I've attempted this method with the latest Chrome, Edge, and using a private browser session.

 

Currently the embedded visual does the following.  On page load it displays the Sign in button.  Clicking Sign in flashes a popup that quickly disappears.  Embedded visuals updates from Sign in to Sign with a new button "Open in new tab".   The "Open in new tab" button wasn't previously displayed until today.  Clicking the Open in new tab opens the embedded report in a new tab to the app.powerbi.com website with the same Sign in button.  I can see a new parameters added to the query string.  Decoding the query string reveals the following: clientSideAuth=0&fallbackError={"flow":"Reportembed","info":"pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read properties of undefined (reading 'digest')","code":"pkce_not_created"}.  Clicking the Sign in button for the visual loaded in a new tab goes right back to the Sign in button and nothing loads.  Manipulating the query string by removing the clientSideAuth=0 from the new tab will get the visual to load.

  • Looks like I found the answer to my own question.  The embedded code is hosted on an internal only web application using HTTP.  That's no good anymore, has to be on HTTPS now for the embedded visual to load.  I'll have to submit a ticket to our IT to get a SSL cert installed on the web server.  😞

  • Registered just to reply.

     

    I have PowerBi reports embedded to nwjs.io application, and reports stopped working. Had to use chrome.webRequest.onBeforeRequest to remove &clientSideAuth=0 from the url to get reports working. 

     

    Thanks for pointing me to the right direction.

9 Replies

  • bcr901's avatar
    bcr901
    Frequent Visitor

    Looks like I found the answer to my own question.  The embedded code is hosted on an internal only web application using HTTP.  That's no good anymore, has to be on HTTPS now for the embedded visual to load.  I'll have to submit a ticket to our IT to get a SSL cert installed on the web server.  😞

    • JoriH's avatar
      JoriH
      New Member

      Registered just to reply.

       

      I have PowerBi reports embedded to nwjs.io application, and reports stopped working. Had to use chrome.webRequest.onBeforeRequest to remove &clientSideAuth=0 from the url to get reports working. 

       

      Thanks for pointing me to the right direction.

      • jlugoal's avatar
        jlugoal
        New Member

        Hey, I'm having the same issue but instead of a nwjs.io app, I have it on Flask and tried requestly api to perform the same change in the URL as you did with chrome.webRequest.onBEforeRequest but not working correctly unless I open the embedded report in a new tab. How did you do the webrequest? so I can try that option while we get IT to perform a deeper troubleshooting. 

        thanks in advance! 

  • i have embedded report in https site and still has this problem.

  • I’m facing an issue where, after signing a report, the option to send the PDF is not appearing, even though I have a premium license. Has anyone encountered this problem? Any solutions or advice would be greatly appreciated!