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)
|
policy.WithOrigins(allowedOrigins)
|
||||||
.AllowAnyMethod()
|
.AllowAnyMethod()
|
||||||
.AllowAnyHeader()
|
.AllowAnyHeader()
|
||||||
|
.WithExposedHeaders("Authorization")
|
||||||
.AllowCredentials();
|
.AllowCredentials();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user