Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

GenerateEmailConfirmationTokenAsync throws No IUserTokenProvider is registered.

$
0
0

There are examples that use this:

string code = await UserManager.GenerateEmailConfirmationTokenAsync(user);

But that throws an error:

System.NotSupportedException: No IUserTokenProvider is registered.

What does this mean and how do I register an IUserTokenProvider?

Thank you.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>