0

I talk about .NET & IIS.

When type protected resource URL - it starts all OAUTH proccess (getting auth code, and even getting access tokens).

It seems to me - CHROME caches prefetch results, even redirect results. So, when real request begins execute - it got expired auth-code and falls with error.

I try to catch such prefetch requests and cancel it at server side, but it leads to side effects - real requests cancel too.

4
  • Use developer tools or Fiddler to confirm. The more you know about the issue itself, the clearer what measures to take. Commented Apr 15, 2019 at 15:51
  • What kind of issue are you talking about? Prefetch request simply grab auth-code and... Cache it? Commented Apr 15, 2019 at 16:19
  • and prefetch requests passing by developers tools. Commented Apr 15, 2019 at 16:21
  • 1
    about confirm - there is a special header in request purpose:prefetch Commented Apr 15, 2019 at 16:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.