Skip to content

Commit f8236c8

Browse files
committed
Refactor dynamic app secret
1 parent 099d931 commit f8236c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WebApi/Startup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public Startup(IConfiguration configuration, IHostingEnvironment env)
4444
// This method gets called by the runtime. Use this method to add services to the container.
4545
public void ConfigureServices(IServiceCollection services)
4646
{
47-
// string SecretKey = Configuration["AppSecret"];
48-
string SecretKey = "141FE29A91D7FA1A13F3C713BB789";
47+
string SecretKey = Configuration["AppSecret"];
4948
SymmetricSecurityKey _signingKey = new SymmetricSecurityKey(Encoding.ASCII.GetBytes(SecretKey));
5049

5150
// Add framework services.

0 commit comments

Comments
 (0)