I have an api that is being redirected to with a request with the following format:
https://localhost:4200/test#access_token=....
This is not something that I control and is unfortunately not your standard &
query string. As a result when I try to extract the access_token
value from the request I cannot find it.
I am using a HttpContext
and the Request
property:
public override void OnActionExecuting(ActionExecutingContext context)
{
var request = context.HttpContext.Request; // No properties contain the access_token
}
Are there any other solutions to retrieve the original (un-sanitised) URL that was requested.