Unable to create a Postman Collection and connect it to Brightspace

Venkata.G.6239
Venkata.G.6239 Posts: 2 🔍
edited January 24 in Development

I am tryingto create a Postman Collection and connect it to Brightspace. I followed theprocess mentioned in the documentation attached below. We are unable to createa token to establish the connection as it is giving us an error “Invalidredirect Uri:” below is the screenshot of the details mentioned in the PostmanCollection. Please help us with necessary changes to complete this connection.

BrightspaceAPI Documentation : UsingPostman with the Brightspace API - Brightspace

Callback URL:  https://lms-oauth2-staging.thecoursekey.com/authorize

Auth URL : https://auth.brightspace.com/oauth2/auth

Access TokenURL : https://auth.brightspace.com/core/connect/token

Scope :content:*:* core:*:* datahub:*:* enrollment:*:* organizations:*:* orgunits:*:*quizzing:*:* users:*:*

Screenshotof the Postman Create Collection Interface:

Tagged:

Answers

  • @Venkata.G.6239, if you are getting an “Invalid redirect Uri:” try checking the Authorization tab of your collection in Postman.

    If you are using the web version of Postman (going to the Postman website), use https://oauth.pstmn.io/v1/browser-callback and ensure that the same value is used in the Redirect URI field for the OAuth 2.0 connection within Brightspace.

    If you are using the desktop application of Postman (using the Postman app on your computer), use https://oauth.pstmn.io/v1/callback instead, and once again ensure that the Redirect URI field for the OAuth 2.0 connection within Brightspace.

    Hope that helps!

    -Johnny
    D2L LAM