C#C
C#2y ago
16 replies
Gipper

✅ Trouble setting up user-secrets

I'm trying to set up my ASP.NET app to send emails to confirm account registration. Following this documentation:
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/accconfirm?view=aspnetcore-8.0&tabs=visual-studio
Reffering to the section called "Configure SendGrid user secrets" when I try to input this command into my CLI:
dotnet user-secrets set sendGridKey MM$s85<Y60%X=q.BN+TN8z|Q%qQWie'|PxO

I simply get another CLI prompt and not the success message shown in the documentation. What gives? HelP?
Learn how to build an ASP.NET Core app with email confirmation and password reset.
Account confirmation and password recovery in ASP.NET Core
Was this page helpful?