January 2022

Subscribe is deprecated: Use an observer instead of an error callback

RxJS deprecated some signatures of the subscribe method, which might have caused some confusion. The subscribe method itself isn\’t deprecated, only the variant we\’re using is deprecated. So here it looks like See these GitHub issues: https://github.com/ReactiveX/rxjs/pull/4202 https://github.com/ReactiveX/rxjs/issues/4159 /Siva

Subscribe is deprecated: Use an observer instead of an error callback Read More »

No IUserTwoFactorTokenProvider named \’Default\’ is registered

While working on .NET Core\’s Identity files, I encounter this error: No IUserTwoFactorTokenProvider<TUser> named \’Default\’ is registered. The Microsoft.AspNetCore.Identity.UserManager<TUser>.GenerateEmailConfirmationTokenAsync or GenerateUserTokenAsync functions couldn\’t generate a token because no provider was available upon registering a new user. It\’s a very simple fix, just add a little bit more to AddIdentityCore<User> configuration in Startup.cs class services. The

No IUserTwoFactorTokenProvider named \’Default\’ is registered Read More »

Scroll to Top