You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we run one command per secret, which is painful for developers who want to contribute to our project.
Support for social login providers
If you want to allow your users to login with their social accounts, e.g. Facebook, follow instructions below.
Facebook
1 - Follow this guide to generate AppID and AppSecret.
2 - Execute the following instructions from TodoList/TodoList.Web:
dotnet user-secrets set Authentication:Facebook:AppId <app-id>
dotnet user-secrets set Authentication:Facebook:AppSecret <app-secret>
Google
1 - Follow this guide to generate ClientID and ClientSecret.
2 - Execute the following instructions from TodoList/TodoList.Web:
dotnet user-secrets set Authentication:Google:ClientId <client-id>
dotnet user-secrets set Authentication:Google:ClientSecret <client-secret>
Microsoft
1 - Follow this guide to generate ClientID and ClientSecret.
2 - Execute the following instructions from TodoList/TodoList.Web:
dotnet user-secrets set Authentication:Microsoft:ClientId <client-id>
dotnet user-secrets set Authentication:Microsoft:ClientSecret <client-secret>
Twitter
1 - Follow this guide to generate App ID and AppSecret.
2 - Execute the following instructions from TodoList/TodoList.Web:
dotnet user-secrets set Authentication:Twitter:ConsumerKey <consumer-key>
dotnet user-secrets set Authentication:Twitter:ConsumerSecret <consumer-secret>
Expected behavior
The user should only deploy a JSON containing the required USER_SECRETS
Include SendGrid ApiKey to the new secrets.
Created a secrets.json template under the TodoList.Web directory and updated the readme file to reflect automatic importing. Also modified the readme to use nested numbering for bullet points.
Wasn't clear if this was the right direction to take let me know.
Created a secrets.json template under the TodoList.Web directory and updated the readme file to reflect automatic importing. Also modified the readme to use nested numbering for bullet points.
Wasn't clear if this was the right direction to take let me know.
Describe the bug
To Reproduce
Currently, we run one command per secret, which is painful for developers who want to contribute to our project.
Expected behavior
The user should only deploy a JSON containing the required USER_SECRETS
Include SendGrid ApiKey to the new secrets.
Additional context
Create a default JSON, containing the keys needed, with their values set to an empty string.
Here are more information and a guide on how to implement that: https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-3.1&tabs=windows.
The text was updated successfully, but these errors were encountered: