I am dealing with an authorization system that works the following way:
- User is sent to a third party login page
- User enters credentials
- Website redirects user back to my site, with a POST request containing auth token.
Is there any way for me to obtain the headers of the POST requests in Angular?
If not are there any alternative methods to handle this situation? I'm using Ngingx web server if that's of any help.