簡體   English   中英

winrt中的azure acs身份驗證

[英]azure acs authentication in winrt

我正在嘗試使用Azure ACS在winrt Metro應用程序中對用戶進行身份驗證。 我已經用一個簡單的webtoken天藍色了一個依賴方。

在Windows 8上,我已經安裝了azure工具包。 當我從winrt雲(通知+ acs)模板創建了一個新項目,並填寫了所有可以運行該應用程序的參數后,我得到了實時ID登錄屏幕,但是當我輸入憑據時,我收到一條消息,說“我們可以加載該頁面”。

誰能幫我這個?

通過“我填寫所有必要的參數”,我假設您的意思是Configuration.xml文件包含ACS名稱空間等必要的信息...

現在,僅填寫此信息並配置ACS不足以使示例工作。 如果仔細查看Configuration.xml文件,將看到以下元素:

<!--Relying party return Url. The bouncer service url that will parse the token from ACS.-->
<ReturnUrl>https://127.0.0.1/bouncer</ReturnUrl>

<!--Authentication End Url. The bouncer service url used to validate if the authentication process is done.-->
<EndUrl>https://127.0.0.1/bouncer/end</EndUrl>

這些是來自Azure應用程序的URL,您還需要運行這些URL才能運行示例。 在工具箱中,您將找到以下目錄:

WATWindows.Setup.v1.2.4 \\ Samples \\ Notifications.CSharp \\ Notifications.Backend

為了能夠運行示例應用程序,您需要首先啟動此后端應用程序。

並且您是否已經在WATWindows.Setup.v1.2.4 \\ Samples \\ Notifications.CSharp目錄中運行SetupSample.cmd腳本?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM