0

According to the releases a few day ago by Scottgu, its now possible to use the windows azure management api without client certificates.

Are there any examples of doing this?

I have a Azure Cloud Service Package that I would like to let people deploy from my website. Therefore I would like to, from javascript, to authenticate the user to their Azure subscription ( some oauth against the WAAD ) and then by rest api deploy my package for them.

I dont need a concrete examples, but just some pointers on how I could do this.

I dont want users to give me their passwords offcause, therefore i need some guidance on how I can do SSO of the user against WAAD/Windows Azure management api and from there use the access token to deploy the package.

1 Answer 1

0

As of today, the Service Management API documentation regarding this new authentication mechanism (http://msdn.microsoft.com/en-us/library/windowsazure/ee460782.aspx) is not updated. Since the new login mechanism is supported in PowerShell which is essentially a REST Wrapper over this API and is open source, one thing you could do is take a look at the source code of the Cmdlets on Github (https://github.com/WindowsAzure/azure-sdk-tools) to see how it is accomplished there and write something of your own (and share it here:)).

7
  • When I have a working example, i will share :) One quick question. There is no need for me to create a Application, register it with my WAAD, and let users sign in there. Would that work, would I then be able to use the token when they have signed in to do things on their azure subscription? Oct 24, 2013 at 16:48
  • :). I haven't used it myself but from what I understand, this is essentially the functionality where subscription admin/co-admins can use Service Management API without using the current certificate based authentication. Key thing here is that only subscription admin/co-admins can use this functionality. Oct 24, 2013 at 16:51
  • okay. will give it a go. Azure-sdk-tools are a large project :) Oct 24, 2013 at 16:57
  • It seems that the powershell tools has a clientID. I am not sure where i would register my "app" to get a clientid for me. Is it an app on my WAAD that is public for others to use or is it just the LiveId oauth service Oct 24, 2013 at 18:00
  • I was able to get a token by using the uri and clientId of the powershell tools. Not sure how to get a clientId for my application. Nov 1, 2013 at 23:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.