Azure / Azure/data-api-builder

Publishing DAB through Microsoft Web Application Proxy

オープン
#1,785 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

HI,

I setup an container with DAB. Internally everything seems to be working fine, now i want to expose DAB to the internet with AzureAD as authentication method.

I published the External URL on WAP but the "next link" in the results still points to the internal link.

External link: https://integration.someurl.nl/
Internal link: http://somehostname.local:5555/
Webapplication Proxy: Microsoft Web Application Proxy (Windows Server 2019)

Result json externally:

"nextLink": "
[http://somehostname.local:5000/api/addresses?$after=W3siVmFsdWUiOiI0QzYxMzgwQi1GQjA1LUVFMTEtQjVENy0wMDE1NUQwQTcwM0IiLCJEaXJlY3Rpb24iOjAsIlRhYmxlU2NoZW1hIjoiZGJvIiwiVGFibGVOYW1lIjoiRmlsdGVyZWRBNFNBZGRyZXNzZXMiLCJDb2x1bW5OYW1lIjoiaWQifSx7IlZhbHVlIjoiNEM2MTM4MEItRkIwNS1FRTExLUI1RDctMDAxNTVEMEE3MDNCIiwiRGlyZWN0aW9uIjowLCJUYWJsZVNjaGVtYSI6ImRibyIsIlRhYmxlTmFtZSI6IkZpbHRlcmVkQTRTQWRkcmVzc2VzIiwiQ29sdW1uTmFtZSI6IkN1c3RvbWVyIn1d"](http://integration.quality-textiles.cloud:5000/api/addresses?$after=W3siVmFsdWUiOiI0QzYxMzgwQi1GQjA1LUVFMTEtQjVENy0wMDE1NUQwQTcwM0IiLCJEaXJlY3Rpb24iOjAsIlRhYmxlU2NoZW1hIjoiZGJvIiwiVGFibGVOYW1lIjoiRmlsdGVyZWRBNFNBZGRyZXNzZXMiLCJDb2x1bW5OYW1lIjoiaWQifSx7IlZhbHVlIjoiNEM2MTM4MEItRkIwNS1FRTExLUI1RDctMDAxNTVEMEE3MDNCIiwiRGlyZWN0aW9uIjowLCJUYWJsZVNjaGVtYSI6ImRibyIsIlRhYmxlTmFtZSI6IkZpbHRlcmVkQTRTQWRkcmVzc2VzIiwiQ29sdW1uTmFtZSI6IkN1c3RvbWVyIn1d%22)

Which points to the internal addres instead of externally.

Am i missing a parameter or configuration in DAB?

Kind regards,
Rogier

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reviewing how DAB constructs the pagination nextLink in responses when deployed in a container behind Microsoft Web Application Proxy and Azure AD. Reproduce the reported external request and compare the generated internal and external URLs; done means nextLink resolves through the published external URL rather than the internal host.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, csharp, docker
領域
api, authentication, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。