Configuring Generic OAuth2 with a Canvas LMS Instance

I attempted to configure a Canvas Instance as an OAuth2 provider following the exact steps provided in this knowledge solution topic, but I get the following error:

{
  "error": "access_denied",
  "error_description": "prompt must be \"none\" (or omitted)"
}

When I set the prompt=none using the Management API, I get this error instead:

{
  "error": "access_denied",
  "error_description": "prompt=none but a token cannot be granted without user interaction"
}

Were the steps provided in the knowledge topic validated? Have there been changes since then?

Thanks!

1 Like

I’m encountering the same issue. Any luck figuring out the issue?

Hello! I did actually manage to get this fixed.

I had to eventually force the prompt to be removed completely from the Management API endpoint like this:

{
	"options": {
        //...The rest of the connection data retrieved from the GET
		"upstream_params": {}
        }
}

This effectively cleared out the prompt on the config.

Then I had to initiate the connection NOT through the Try Connection button, but through the code itself. Once I set that up, it started working