I have an OAuth2 enabled site that experiencing issues related to how IE is handling the 303 response. In the flow, 3 redirects occur.
### Chrome/Firefox
POST idp.com/login (res 302 -> idp.com/authenticate)
GET idp.com/authenticate (res 302 -> app.com/oauth2/callback)
GET app.com/oauth2/callback (res 303 -> app.com/home)
GET app.com/home
### IE
POST idp.com/login (res 302 -> idp.com/authenticate)
POST idp.com/authenticate (res 302 -> app.com/oauth2/callback)
POST app.com/oauth2/callback (res 303 -> app.com/home)
POST app.com/home
IE seems to be maintaining the original request method for some reason. I tried to at least break from the original POST response on my server (app.com) by returning a 303 but that did not solve the issue either. This is unexpected since RFC 2068 states that for a 303 - See Other
response, the following should be honored
The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource.
I even tried a 307 response with no success. Does anyone have any ideas on what's happening here?