The OAuth Login and Approve has the wrong URL when using IIS as a proxy

Microsoft Internet Information Services (IIS) を使用したアトラシアン サーバー アプリケーションのプロキシ



アトラシアン コミュニティをご利用ください。


プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。

このページの内容はサポート対象外のプラットフォームに関連しています。したがって、アトラシアン サポートではこのページの記載内容のサポートの提供は保証されません。この資料は情報提供のみを目的として提供されています。内容はお客様自身の責任でご利用ください。


The OAuth dance (Login and Approve) can redirect to the wrong URL. Some examples this has been reported:

  • In Jira's Development panel, when authenticating with Development Tools
  • When inserting Jira issue macros into Confluence
  • When working with third party tools that utilize OAuth and Application links


Check the URLs that are producing errors. Key factors that can help you determine if you're running into this problem or not:

Does the context path match the destination URL?

For example, if you're linking a Confluence site at <> to a Jira site at, does Jira show /wiki in the URL (and produce a page not found)?

Does the Application Link ID in the URL match the destination application?

Check the application link ID in the URL of the malfunctioning URL - it should be different to the ID from the destination; which can be checked by browsing to <> as an administrator.

Are you using IIS as your reverse proxy with Application Request Routing (ARR)?

This document only applies to IIS when ARR is in use.


This is caused by the "Reverse rewrite host in response headers" option being enabled in IIS.

tip/resting Created with Sketch.

This setting can be enabled at the site level, where it will affect only that site - but it can also be enabled at the machine level. Make sure to check both the site level configuration and the machine level configuration in IIS Manager.


  • Disable the setting "Reverse rewrite host in response headers"

最終更新日: 2019 年 2 月 5 日


Powered by Confluence and Scroll Viewport.