Login redirect in 3.1.4


I was going to report an issue with the login redirect, which I am experiencing in version 3.1.4.
I see it was already raised and fixed in version 2.3. I find myself in this exact situation.


It looks like I am still experiencing this issue with version 3.1.4 though.

Could it be that it crawled back in?



Hi Tim,

Thanks for getting in touch! I couldn’t reproduce this in 3.2.6. Even though that’s a higher version than yours, we haven made any changes to the redirection ever since.

Is this happening to you on all browsers? Do you have steps I can follow to try to reproduce this?



Hi Dalmiro,

It was reported to us by users that click a deployment link in a mail, sent from a Send Mail step in Octopus. An example deployment link would be:


Generated in the mail like this:

<a href=“http://octopus-server/octopus#{Octopus.Web.DeploymentLink}”>…</a>

We use Active Directory to authenticate (both forms based and NTLM based)

I did some further tests. Here are a few scenarios:

  1. Fresh browser, sign in with Windows domain account

    1. Sign out of Octopus.
    2. Close all browsers.
    3. Navigate to deployment link.
    4. Use Windows domain account sign in option.
    5. Get redirected to the dashboard (should redirect to deployment page).
  2. Keep browser, sign in with username+password

    1. Sign out of Octopus
    2. ! Do NOT close browser.
    3. Navigate to deployment link. (paste in same tab, or click to open new tab, doesn’t matter)
    4. Username+password login.
    5. Error: Value cannot be null. Parameter name: instance

I observer 2 things:

  1. Following a deep link, signing in with my Windows Domain account always redirects to the dashboard page. Using username+password does correctly redirect (except, see observation 2)
  2. When signing in with Windows Domain account, signing out, navigating to a deep link in the application, try to sign in with username+password, an error occurs.

We’ll try to set the default (NTLM) authentication to IntegratedWindowsAuthentication as shown here http://docs.octopusdeploy.com/display/OD/Active+Directory+authentication#ActiveDirectoryauthentication-Integratedauthentication

Let me know if you have any more questions, thanks in advance!


Hi Tim,

Your first scenario seems to match this Github issue we still have in our queue: https://github.com/OctopusDeploy/Issues/issues/2030

The 2nd scenario seems new to us. I’ve created a github issue for it: https://github.com/OctopusDeploy/Issues/issues/2202

Thanks for taking the time to put so many details on the repro steps. It really helped :slight_smile:


Hi Dalmiro,

Thanks for looking into it!