POST request from non Kentico site fails

Mark Elliott asked on December 18, 2020 00:16

Hey everyone,

Having very odd situation here...we are trying to set up a third party site to use for authentication with our Kentico sites.

Kentico site ---> Authentication system --> Kentico site

For some reason when the Authentication system attempts to POST and redirect back to any of our Kentico sites we get: Site did not respond

This happens on any of our Kentico sites however if we point the redirect to any other site (either on the same server or not) it works exactly as expected.

Any ideas what might be happening here?

Thanks!

Correct Answer

Mark Elliott answered on February 11, 2021 22:40

So after a ton of trial and error and looking every place imaginable we discovered the source of the issue.

In Settings under URLs and SEO we had Allow permanent (301) redirection checked. This was wrecking havoc on the POST request because it was expecting a 200 or 302 response to verify the URL. Turned that setting off and everything works wonderfully.

Hope this helps if someone else runs into this issue.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.