Don't show suggest a specific AppId
The instructions suggest that the user use the same AppId as the one shown in the screenshots. I practice, they will have their own AppId.pull/710/merge
parent
91ce86a2bf
commit
e9a36dd88a
|
@ -83,11 +83,10 @@ The project created has code in Startup which reads the configuration values fro
|
|||
|
||||
Follow these steps to add the Facebook AppId and AppSecret to the Secret Manager:
|
||||
|
||||
- Open a Command Prompt and navigate to the folder of project.json for your project.
|
||||
- Use DNVM (.NET Version Manager) to set the DNX runtime version to RC1 by running **dnvm use 1.0.0-rc1-final**
|
||||
- Install the :doc:`Secret Manager <app-secrets>` tool using DNU by running **dnu commands install Microsoft.Extensions.SecretManager**
|
||||
- Set the Facebook AppId by running **user-secret set Authentication:Facebook:AppId 862373430475128**
|
||||
- Set the Facebook AppSecret by running **user-secret set Authentication:Facebook:AppSecret <value-from-app-secret-field>**
|
||||
- Use DNVM (.NET Version Manager) to set a runtime version by running **dnvm use 1.0.0-beta8**
|
||||
- Install the SecretManager tool using DNU (Microsoft .NET Development Utility) by running **dnu commands install Microsoft.Framework.SecretManager**
|
||||
- Set the Facebook AppId by running **user-secret set Authentication:Facebook:AppId <value-from-app-Id-field>**
|
||||
- Set the Facebook AppSecret by running **user-secret set Authentication:Facebook:AppSecret <value-from-app-secret-field>** In this example the AppId value is 862373430475128, corresponding to the previous image.
|
||||
|
||||
The following code reads the configuration values stored by the :doc:`Secret Manager <app-secrets>`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue