Web Bouncer – About
This site allows you to submit HTML data by GET or POST, and have your request bounced on to some other location of your choice. It can be useful when testing OAuth flows – you can set up this site as the callback destination for your OAuth endpoint, and then each developer can configure the site for where they want their OAuth replies to be sent to.
The bouncer destination is set using the settings page, and is stored as a browser cookie. If you try to do a bounce and haven't got that cookie set yet, you'll get sent to the settings page where you can set your bounce-to target. If you want to change your bounce-to target, revisit the settings page.
If you turn up at the root of the site with no GET or POST values, you'll get sent to the settings page. If you turn up at the site requesting anything in the /Bouncer/ area, your request will get processed like a normal page request. All other requests are bounced to your chosen destination, with the path and GET and POST values of the original request preserved.
Defeating the cookie value
If you want it to ignore what is in the cookies, include anywhere in your query string. This can be useful if you then want to be able to clear the cookies, using the bouncer website.
Seeing what values were sent by GET or POST
If you go to /Bouncer/ShowValues, that page will reflect your GET or POST values as submitted.
Trying it out locally
If you want to see the bounced request flow, and maybe watch it in action with the Network tab of your browser tools, you could do this:
- Set up [this site]/Bouncer/ShowValues as the target, using the settings page
- Go to the bounce-me page, and click on [GET] or [POST] and see it in action
The above steps will GET or POST the values of the form to the root of this site, which will then bounce it on to your chosen destination ([this site]/Bouncer/ShowValues in this example), while preserving the values of the original GET or POST.
Hosting
As of July 2021, it is hosted as an Azure App Service, hosted at https://ls-bounce.azurewebsites.net/, and built through CI.