Back to All

OAuth Cancel when Requesting Permissions not redirecting

I am setting up an application to use the OAuth 2.0 process following the documentation:

https://developers.samsara.com/docs/oauth-20#step-2-users-are-redirected-to-your-app-with-an-authorization-code

The documentation says the following
"If the authorization was not granted, the redirect would look like:
https://my-app.com?error=scope_not_granted"

When i am on the page to Cancel or Allow permission to access the Samsara Data when i click Cancel i get a error popup that says "Error: insufficient scope granted" and i am not redirected like the documentation says with the error=scope_notgranted.