how do i set-up a azure b2c tenant for a blazor/ASP project with user login security to filter/select data only for the logged in user?
in a default SQL set-up this works with the email field/column but in azure b2c the system is using the column file "NAME" which is not secure!
i have a b2c project up and running and all works fine. but, not the security part. this is because a ASP project is using this code to identify a user (@context.User.Identity.Name) and in b2c this code is using the column field "NAME" which is not unique and not verified or proofed like the email.
this azure b2c set-up is not secure for a public web app to grant access data only for his on data and only for the logged in user.
how is this possible in azure b2c?