Added .WithExposedHeaders("Authorization") in project.cs
This commit is contained in:
parent
2041f99ac5
commit
2a25bbae82
@ -66,6 +66,7 @@ builder.Services.AddCors(options =>
|
||||
policy.WithOrigins(allowedOrigins)
|
||||
.AllowAnyMethod()
|
||||
.AllowAnyHeader()
|
||||
.WithExposedHeaders("Authorization")
|
||||
.AllowCredentials();
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user