Blazor Azure B2C get ClaimType newUser redirect

Viewed 126

In Blazor how do I get the Claim type "newUser" and redirect the user to a @page "/signup"?

I'm using a Blazor server project with Azure B2C. When I'm decoding my token, the newUser claim is there, and it's behavior is as expected. I just can't figure out how to utilize it and redirect users accordingly.

"newUser" is a default application claim from B2C -> "User is new" -> true if the user has just signed-up for your application ->bool ->built in

0 Answers
Related