Problems with authentication graph in spfx webpart
Good morning,
We are creating a webpart using spfx and pnp. and we encountered a problem with the graph api calls. We noticed that every time the webpart is loaded it automatically reloads twice and then works normally. The problem is only present if we use Graph.
We have tried everything, remove pnp and put it back but the problem remains.
After an analysis we realized that within the default Azure app “SharePoint Online Client Extensibility Web Application Principal” we have this alert:”This app has implicit grant settings enabled. If you are using any of these URIS in spa with MSAL.js 2.0, you should migrate URIS. ”
Could it be related to our problem?
The pages where the SharePoint site is redirected when it tries to authenticate are these and which lead to the following link https://tenant.sharepoint.com/_forms/spfxsinglesignon.aspx#.
Can you help me?
Good morning,We are creating a webpart using spfx and pnp. and we encountered a problem with the graph api calls. We noticed that every time the webpart is loaded it automatically reloads twice and then works normally. The problem is only present if we use Graph.We have tried everything, remove pnp and put it back but the problem remains.After an analysis we realized that within the default Azure app “SharePoint Online Client Extensibility Web Application Principal” we have this alert:”This app has implicit grant settings enabled. If you are using any of these URIS in spa with MSAL.js 2.0, you should migrate URIS. ”Could it be related to our problem?The pages where the SharePoint site is redirected when it tries to authenticate are these and which lead to the following link https://tenant.sharepoint.com/_forms/spfxsinglesignon.aspx#.Can you help me? Read More