Hi, we are trying to use sign-in-with-magic-link-keyvault sample in our application.
The sample uses Hosted Blazor WebAssembly model and Microsoft.Identity.Web library which has OnRedirectToIdentityProvider hook, which in turn is used in sample to attach id_token_hint on redirect to B2C.
We use Azure Functions as backend, so no point to use Hosted model and we use Standalone Blazor WebAssembly model instead.
Microsoft.Identity.Web does not work in Standalone model, so Microsoft.Authentication.WebAssembly.Msal library must be used instead.
The problem is that Microsoft.Authentication.WebAssembly.Msal library does not have OnRedirectToIdentityProvider hook. This leads to the fact that library doesn't react when valid access token is sent back to application.
Question is, how to implement sign-in-with-magic-link-keyvault sample in Standalone Blazor WebAssembly app?
Hi, we are trying to use
sign-in-with-magic-link-keyvault
sample in our application.The sample uses Hosted Blazor WebAssembly model and
Microsoft.Identity.Web
library which hasOnRedirectToIdentityProvider
hook, which in turn is used in sample to attachid_token_hint
on redirect to B2C.We use Azure Functions as backend, so no point to use Hosted model and we use Standalone Blazor WebAssembly model instead.
Microsoft.Identity.Web
does not work in Standalone model, soMicrosoft.Authentication.WebAssembly.Msal
library must be used instead.The problem is that
Microsoft.Authentication.WebAssembly.Msal
library does not haveOnRedirectToIdentityProvider
hook. This leads to the fact that library doesn't react when valid access token is sent back to application.Question is, how to implement
sign-in-with-magic-link-keyvault
sample in Standalone Blazor WebAssembly app?