cancel
Showing results for 
Search instead for 
Did you mean: 
kreut
Community Participant

First step in OAuth2 process results in error

Jump to solution

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:

https://ucberkeley.instructure.com/login/oauth2/auth?client_id=10720000000000482&redirect_uri=https:...

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.

Tags (1)
1 Solution

Accepted Solutions
kreut
Community Participant

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:

"redirect_uri does not match client settings" error when Redirect URIs field is used instead of Redi... 

View solution in original post

0 Kudos
3 Replies
kreut
Community Participant

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:

"redirect_uri does not match client settings" error when Redirect URIs field is used instead of Redi... 

View solution in original post

0 Kudos

 @kreut ‌

Thanks for taking the time to update this post to provide the solution. We appreciate how helpful you are being to your fellow community members, especially in these difficult times. Please check your direct messages for a small token of our appreciation. :0)

Thanks again for all that you do and keep up the good work!

Sincerely,

Canvas Community Team

kreut
Community Participant

Happy to help!