Accessing Healthvault from Azure
-
Tuesday, December 18, 2012 2:05 PM
I created an Azure healthvault application single webrole - webrole1. I am trying to test 2 things. 1. Get the ID returned from healthvault and 2. Have the user authorize my application. Case 2 works on the local azure platform and case1 does not link to the redirect URL defined in my webconfog. 2 questions.
1. How do you access the certificate when running from the Azure production?
2 How do you get the redirect to load the requested program defibed in the web config.
You can test the prohram using this link: https://ghiclient.cloudapp.net/registerpatient.aspx
Click enroll patient then try grant access buttons.
Config file
<
appSettings>
<
addkey="ShellUrl"value="https://account.healthvault-ppe.com/"/>
<
addkey="HealthServiceUrl"value="https://platform.healthvault-ppe.com/platform/"/>
<!--
when we call the SignOut() method on HealthServicePage, it redirects us to the page below -->
<
addkey="NonProductionActionUrlRedirectOverride"value="~\WebRole1\Redirect.aspx"/>
<!--
The redirect page (specified above) uses these keys below to redirect to different
pages based on the response from the shell
-->
<
addkey="WCPage_ActionHome"value="~\WebRole1\registerpatient.aspx"/>
<
addkey="WCPage_ActionAppAuthSuccess"value="~\WebRole1\healthvaultgrantaccess.aspx" />
<
addkey="WCPage_ActionSignOut"value="SignedOut.aspx"/>
<
addkey="ApplicationCertificateFileName"value="I:\inetpub\wwwroot\globalhealthcloudapp\cert\WildcatApp-9d9adacb-573e-486d-acf2-b57ca927f802.pfx"/>
</
appSettings>
ddkey="ApplicationId"value="9d9adacb-573e-486d-acf2-b57ca927f802"/>
All Replies
-
Tuesday, December 18, 2012 6:30 PMHi Mike,
Have you seen this blog post about running HealthVault apps on Azure? Do you get an error in step 2?
Thanks
Santhosh

