Welcome to the Panopto Community

Using Postman to get access token with no user

edited October 2020 in API

Hi

I'm trying to follow the guidance in this do https://support.panopto.com/s/article/How-to-Get-OAuth2-Access-Tokens-for-Users to get an access token using my client secret and key using postman.

I post to https://<myserver>/Panopto/oauth2/connect/token using autherization type Basic Auth in the authorization tab and leaving username and password blank.

In the headers tab I added

Key: Basic

Value: <ClientAPIKey>:<ClientSecretValue> (base 64 encoded with utf-8)

the result i get is

{

  "error": "invalid_client"

}


any idea where i am going wrong?


many thanks

Charlie

Answers

  • Joe MalmstenJoe Malmsten Panopto Employee

    Hi Charlie,

    Could you please change the Key for the header to "Authorization"?

    Could you also verify the value is "Basic (Base64Encode(ClientAPIKey:ClientSecret))"

    Let us know if you have any other issues.

    Thanks,

    Joe

  • Hi thanks so much, that sorted my initial problem. the message now is unsupported_grant_type.

    Sorry to come back with another question


    Charlie

Sign In or Register to comment.