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.

Unable to auth with Postman...

edited July 2021 in API

Hello all.

I've filled and refilled the client and secret ID from my client in the API console.

I've put in the postman redirect URL in the allowed callbacks

https://www.postman.com/oauth2/callback

I've entered the correct endpoints.


https://domain/Panopto/oauth2/connect/authorize

https://domain/Panopto/oauth2/connect/token

Whenever I go to "Create new token"

Send as basic Auth Header...


I always get


"The client application is not known or is not authorized."

ok UPDATE

now I'm seeing "The client application made an invalid request."....still stuck


At my wits end....and FYI time to update the panopto/postman docs. The flow is incorrect.


-Rob.

Tagged:

Answers

  • Hi Rob,

    I won't comment on your postman docs being incorrect, but I will say that I now just create a bearer token in a console app and add it to Authentication -> Bearer token -> [Paste] to work with postman now.

    I haven't shared the app I use to copy and paste the code, but you can get the bearer token by debugging the test here if it's helpful https://github.com/mediaguycouk/PanoptoRest

    Graham

  • Kevin BaumKevin Baum Panopto Employee

    Hi Rob,

    It's possible that there is a parameter being passed incorrectly, leading to the "invalid request" response. The most common situation I've seen with this is a tab, space, or newline hidden at the end of a client ID or client secret value, which is difficult to see in Postman but could cause the request to be rejected.

    Can you please verify that there are no whitespace or additional characters at the end of the client ID or client secret value you added to Postman?

    Thank you for letting me know about the documentation being out of date. I've filed an internal work item on our team to take a look at it and get it updated for the latest version of Postman.

    Please let me know if you have any other questions.

    Thanks,

    Kevin

Sign In or Register to comment.