Asp.net Identity Link authentication opens in white

-2

I need a Help, when authenticating Email.

It is not all but some users who receive the authentication email, after clicking the link that receives the email, it goes to a blank page, it follows ex:

link

Querying the user ID: 05a98f16-58a2-4a2c-9bd1-db3f9ece789b is in the database and has status EmailConfirmad = 0

WebConfig

<!-- Configurações usadas pelo ASP.NET Identity. -->


 <add key="DefaultAccountLockoutTimeSpan" value="5" />
    <add key="HistoryLimit" value="5" />
    <add key="MaxFailedAccessAttemptsBeforeLockout" value="5" />
    <add key="MinPasswordLength" value="8" />
    <add key="PasswordExpiration" value="60" />
    <add key="UserLockoutEnabledByDefault" value="true" />

<!-- Configurações do e-mail usadas pelo ASP.NET Identity. -->
<add key="EmailAddress" value="naoresponder@*******.com.br" />
<add key="EmailPassword" value="*******" />
<add key="EmailPort" value="587" />
<add key="EmailProvider" value="smtp.office365.com" />
    
asked by anonymous 30.10.2017 / 12:07

1 answer

0

Since your URL contains a lot of "assorted" characters, which I assume are random, I suggest you make a encode in your strings to avoid URLs with invalid characters.

Before passing the URL to the user, use the Url. Encode

    
30.10.2017 / 12:31