SPFx Single Sign On Redirect Page

Ronny Lewandowski 6 Reputation points
2021-03-18T13:47:43.053+00:00

We have a simple SPFx Application Customizer which renders a global navigation to all sites. We are using pnp to fetch items from a config list. The component is running fine. Each time we open a new browser-session or add a tab to the browser with a url of the tenant, the page is loading twice. We can see that the title "SPFx Single Sign On Redirect Page" is rendered on the tab when the page loads the second time.

79150-spfx.png

What is causing the reload then? This occures on a development tenant, logged-in in private mode.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,267 questions
{count} vote

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-03-19T06:10:47.723+00:00

    Hi @Ronny Lewandowski ,

    In your spfx project, could it be that you call the function loaction.reload() to reload the page?

    Besides, you could click F12 to open browser developer tools and select network tab, check the requests.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.