Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.
Options

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

  • Options
    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

  • Options

    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.