Latest post Wed, Jul 24 2019 8:21 AM by MichaelTancock. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • Thu, Jul 18 2019 4:39 PM

    Platform Tools Samples

    Is there an up to date version of platform tools for .NET anywhere? The sample on github was updated recently however it doesn't allow a connection to the platform. The sample PlatformTools.cs appears to look for an "oauth" authentication provider and specifically states that "OAuth2 authentication is not supported" however this appears to be what the platform expects:

    (extract from response to "https://<host>/auth")

    "auth:identity-providers": [

                {

                    "href": "https://cloud11.wysdom.local/auth/identity-providers"

                }

            ],

            "auth:oauth2-token": [

                {

                    "href": "https://cloud11.wysdom.local/auth/oauth2/token",

                    "name": "refresh"

                }

            ],

            "auth:sso-login": [

                {

                    "href": "https://cloud11.wysdom.local/auth/sso/login/saml2",

                    "name": "SAML2"

                }

            ],

            "auth:token": [

                {

                    "href": "https://cloud11.wysdom.local/auth/tokens/current",

                    "name": "current"

                }

            ]

  • Mon, Jul 22 2019 7:55 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 224
    • Points 2,715
    • Avid Developer Moderator
      Avid Employee

    Re: Platform Tools Samples

    Hi Mike,

    The samples were updated to support the 2019.6 CloudUX. The request you're using though didn't change, so should work in any CloudUX.

    Please note that you need to follow the “auth:identity-providers” link (https://cloud11.wysdom.local/auth/identity-providers)
    to actually obtain the oauth-identity providers, and that’s what the PlatformTools.cs sample does (in lines 71-79)

  • Wed, Jul 24 2019 8:21 AM In reply to

    Re: Platform Tools Samples

    Thanks, I did resolve it but only after a chunk of detective work and memory jogging reminded me that the authorisation string is a Base64 String of clientID:clientSecret

Page 1 of 1 (3 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller