Cors no-access-control-allow-origin when trying to call B2C login
问题 I cannot resolve this error, i have a .net core web api, with a react application inside of it ( net core react template ) I have also added cors: services.AddCors(options => { options.AddPolicy("AllowMyOrigin", builder => builder.WithOrigins("https://localhost:44300") .AllowAnyHeader() .AllowAnyMethod() .AllowCredentials() ); }); I have tried multiple things but i cant get past this error. I have found loads of material online to try and nothing seems to work i feel like i am missing