Postman or D2L MAC Issue
When I click Get New Access Token in Postman, it take me to our org SSO page for signing into D2L, but once the authorization is passed, I get this screen. My browser is set to Chrome, I see our D2L logo so this tells me something on D2L isn't processing correctly or Postman can't seem to open the authorization process in Chrome. I'm using the most updated version of Safari and MacOS. Once I get this error, authorization via browser fails, I can't get a new token.
Is anyone else experiencing this using a MAC?
Comments
-
Hi! If you set the callback for your OAuth application in Brightspace to
, does that change anything? -
@Justin.H.644 If I do that, I promptly get this error message {"error":"invalid_request","error_description":"Invalid redirect_uri: https://oauth.pstmn.io/v1/callback","rfc6749_reference":"4.1.2.1, 4.2.2.1"}
-
Hi, a problem that I've had to work around in postman is that my admin account is not in our Banner/Active directory system and requires a noredirect login. Don't know if that is any part of your issue. Also, I use Chrome as the default on my Mac for working in D2L.
-
We have the same issue; it's the same error, and in Postman, we haven't identified where to make the adjustment or update for the browser plugin it uses. For the exercises, we have opted to work with Insomnia (https://insomnia.rest/), a client similar to Postman. We haven't encountered any problems with Insomnia. It can be installed on both Windows and Mac.
-
Hi @Justin.B.253,
I use a Mac and am not currently experiencing this. I had this issue earlier and resolved it by setting the Redirect URL in the Brightspace OAuth 2.0 Application that I was using to the following:
Redirect URI: https://oauth.pstmn.io/v1/callback
I hope that helps. Let us know if it doesn't and we can try to chase down the issue as a community.
-ben -
@Ben.J.4474 I was using the URL to my org. I switched the Redirect URI: and now it seems to work. Thank you for that helpful tip.
@Mario Andrés.J.740 I have tried Insomnia with some issues as well. Their platform works for the most part. Great tip as well. Thank you.
-
For anyone coming back to this discussion, the key to success was adding
in Postman Authorization tab and using the same URL in D2L Extensibility for your OAuth 2.0 setup.