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.
Using Postman to get access token with no user
Charlotte Pollock
Tyro
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
0
Answers
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