AnsweredAssumed Answered

How to use Developer Key for OAuth2 Authentication?

Question asked by Lee Newton on Nov 13, 2019
Latest reply on Jan 9, 2020 by Lee Newton

So I'm the admin of a Canvas test server, and want to set up OAuth2 authentication for my webpage.
I've generated a developer key after logging into "https://my.test.instructure.com" and setting up a developer key from there. Let's call the developer key "myTestKey".
And in my code, I made a redirect to the website like this:

https://my.test.instructure.com/login/oauth2/auth?client_id=myTestKey&redirect_uri=192.168.10.10%2Fcallback&response_type=code&scope=conference

However, the result I get is this:

while(1);{"error":"invalid_client","error_description":"unknown client"}


Is this not the correct use of a developer key? How should I be using it instead to get authentication?

Outcomes