Test Referring Url

Tests

This page can be hit using any url that starts with /ReferringUrlTest/. This is done so testers can create their own source urls for testing the Referring Url authentication.

For example:

You can test both a success and failure cases using the links below by accessing this page using different urls. First, setup a user to authenticate by referring url and set their url to /allow/this/url. Then hit this page using /ReferringUrlTest/allow/this/url. The links below should then cause the user to be authenticated. Conversely, if you hit this page using /ReferringUrlTest/deny/this/url, and the user is still set up with the above mentioned referring url, they should not be authenticated.

Direct link referring url tests:

Home page referring url tests: