none
Where could I find documentation on the parameters sent by the Application Developper Playground

    Question

  • I am trying to sell my company product, an extension to exchange data between Clouds, on Azure Market Place and Azure Store (is it the same ?)

    When I click on purchase, here

    https://datamarket.azure.com/developer/playground

    I receive in the controller action (MVC) I installed for call back a Get with url similar to this

    https://localhost/datwendo.azuremarket/subscription/provision?code=19BxTOfurJ7IZu7o7ULLSg==
    &x_marketplaceapptoken=Audience=http%253a%252f%252fapi.marketplace.azure.com%252fDatwendoxCloudConnector
    &ExpiresOn=253402300800
    &Issuer=http%253a%252f%252fapi.marketplace.azure.com
    &http%253a%252f%252fapi.marketplace.azure.com%252fclaims%252fv1%252fsubscription=2498bc42-ff10-f7a4-9d2d-e74670eedb64
    &http%253a%252f%252fapi.marketplace.azure.com%252fclaims%252fv1%252flicense=1
    &http%253a%252f%252fapi.marketplace.azure.com%252fclaims%252fv1%252fissuedate=13815088ss.33615
    &http%253a%252f%252fapi.marketplace.azure.com%252fclaims%252fv1%252fofferVariant=cf9fa4ef-aaaa-4178-8e23-1a16d9b87e61
    &http%253a%252f%252fapi.marketplace.azure.com%252fclaims%252fv1%252fverify=19BxTOfurJ7IZu7o7ULLSg%253d%253d
    &HMACSHA256=4bNZ2WYmzr0klw5jMwLcedfrdwUp9pBCNDVQDRbiS7Pk%253d

    here I understand code and x_marketplaceapptoken but what are the other parameters, they look as claim parameters what is their meaning and usage, I can't find a page in documentation related to this ?

    And what is the actual flow, why don't I receive a request to authenticate on OAuth as explained in the samples from the AppPublishingKitOct2011 ? Is this one obsolete ?

    I am using ASPNET/MVC and could not manage to use an ashx handler as explained in AppPublishingKitOct2011, I am trying to replace this by HTTP POST / GET or WebAPI eventually ?
    Any indication welcome.

    CS





    Saturday, October 12, 2013 8:35 AM

Answers

  • @Ming Xu I know OAuth, but if you read the querystring sent back by this test url, this is not real OAuth, especially all the final url-like parameters.

    And even if there is some OAuth claim parameters Inside it, where is their explanation?

    @Pactera I simply can't insert this old ashx module in my application, MVC and ashx modules are mutually exclusives.
    My problem is not in the Client ID but in the lack of any documentation on the real flow followed by the Market Place API...

    And last point confirmed by MS: azure market place and Azure store are totally different products, you can mark this as an answer to my question. Thanks.




    Tuesday, October 15, 2013 9:38 PM

All replies

  • Hi CS,

    Thanks for posting!

    >>here I understand code and x_marketplaceapptoken but what are the other parameters, they look as claim parameters what is their meaning and usage, I can't find a page in documentation related to this ?

    Base on my experience, those parameters may be offered for your application or some for the data market to audience. I guess some parameters may need by your application. Also, I think your could see some code sample about this url(http://www.wou.edu/~rvitolo06/WATK/Labs/IntroToAppMarket/Source/Assets/AzureMarketplace/AzureMarketplaceConfiguration.cs ).

     >>And what is the actual flow, why don't I receive a request to authenticate on OAuth as explained in the samples from the AppPublishingKitOct2011 ? Is this one obsolete ?

    >>I am using ASPNET/MVC and could not manage to use an ashx handler as explained in AppPublishingKitOct2011, I am trying to replace this by HTTP POST / GET or WebAPI eventually ?
     

    From your description, I guess you may pay attention to the clint_id. Please refer to http://social.msdn.microsoft.com/Forums/windowsazure/en-US/57750eeb-bafb-455e-8bbb-94828e90d3c7/apppublishingkitoct2011-tutorial-sample-throw-exception and http://webhelp.danielloftus.com/1_b_task.html .

    Please try it.

    If I am misunderstanding, please let me know.

    Thanks


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, October 14, 2013 7:46 AM
  • Hi,

    Those parameters are standard federation parameters. Audience is the URL of your relying party application. It helps to ensure the callback is sent to your URL instead of an incorrect one. ExpiresOn means when the token will expire. Issuer is who issued the token (MarketPlace in this case). And claims are some data that you can use. You may want to learn some federation technologies, such as OAuth: http://en.wikipedia.org/wiki/OAuth.

    An article from 2011 may sound a bit old. I'do like to suggest you to refer to the latest information on http://msdn.microsoft.com/en-us/library/windowsazure/hh563871.aspx.

    Best Regards,

    Ming Xu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, October 15, 2013 6:19 AM
  • @Ming Xu I know OAuth, but if you read the querystring sent back by this test url, this is not real OAuth, especially all the final url-like parameters.

    And even if there is some OAuth claim parameters Inside it, where is their explanation?

    @Pactera I simply can't insert this old ashx module in my application, MVC and ashx modules are mutually exclusives.
    My problem is not in the Client ID but in the lack of any documentation on the real flow followed by the Market Place API...

    And last point confirmed by MS: azure market place and Azure store are totally different products, you can mark this as an answer to my question. Thanks.




    Tuesday, October 15, 2013 9:38 PM