First step in OAuth2 process results in error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2020
12:17 PM
Hi,
I'm trying to integrate OAuth2 to generate access tokens and can't seem to get past the first step. Through Berkeley's Canvas support, I've received the following email:
I've created a production developer key with the requested endpoints (Assignments, Assignment Groups, External Tools) and learnbybyte.com as the redirect URI.
The detail for the key is 10720000000000482
Based on the API docs, I think that the first step should be to visit:
which will then in theory have the user log in and post back to https://learnbybyte.com.
Instead, I'm getting the message:
{"error":"invalid_request","error_description":"redirect_uri does not match client settings"}
Any ideas on how to troubleshoot this would be appreciated.
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020
09:21 AM
For those of you might encounter the same issue, it was resolved when the admin for the Canvas instance added the Legacy Redirect URI. Hopefully, this can help someone else!
The following link described this issue: