"><img> to paste in an image
Hi,
We aren't experts in msal
.
From my point of you, would be better to copy AuthProvider and rewrite it in the msal way (and then use it), instead of wrapping AuthProvider.
Regards,
Keenthemes support
When you say copy and rewrite AuthProvider. Exactly which components are you referring to?
I mean this src/app/modules/auth/core/Auth.tsx
file.
Regards,
Keenthemes support
Sorry for the double post - it would not let me edit my original question.
The first thing I did was to wrap
<AuthProvider>
createRoot(container).render(
<QueryClientProvider client={queryClient}>
<MetronicI18nProvider>
<MsalProvider instance={msalInstance}>
<AuthProvider>
<AppRoutes />
</AuthProvider>
</MsalProvider>
</MetronicI18nProvider>
<ReactQueryDevtools initialIsOpen={false} />
</QueryClientProvider>
)
<MsalProvider instance={msalInstance}>
<AuthProvider>
<MsalProvider>