Authentication for Azure Mobile Web Services test pages

空扰寡人 提交于 2019-12-19 06:06:13

问题


When developing a Azure Mobile Service I can run the test page when running locally. If I press the 'try it out' button i can test my api, but when published to Azure I need to authenticate to use the 'try it out' button.

My question is what is the username and password for the test page when published to the cloud? I haven't specified any authorization in my project afaik.


回答1:


You can use either the application key or the master key as password -- the username doesn't matter. You can get both keys from the portal by selecting a mobile service and then "Manage Keys" at the bottom of the page.

Thanks,

Henrik



来源:https://stackoverflow.com/questions/23555776/authentication-for-azure-mobile-web-services-test-pages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!