I'm developing the user authentication module in my application and I'm having some trouble accessing the API, getting a 403 error.
In the old way I was doing, when I sent the request to the service, it correctly returned the data I needed without making a mistake (and it still works, as I kept the old controller for comparison). At the time, to make it work, I had to include Cors.filter in the web.config for access to be allowed (since they are different domains).
Now with the new controller, already using some authentication features (I'm basing myself on the