Redirect URIs Never Work

Reimirno
Community Member

For our app that uses Canvas auth, if we put our redirect_uri

http://xxx.com/authorized

into the "Redirect URI (Legacy)" field, our auth flow works.

 

However, if we put that into the "Redirect URIs" field we will get an error:

"The redirect_uri does not match the client settings"

 
 

I have read through this: https://github.com/instructure/canvas-lms/issues/1100#issuecomment-324952769

 and it seems the non-legacy one is stricter. So We have tried the following uris, but all of which do not work and will give us the same error: 

http://xxx.com/

http://xxx.com/authorized

http://xxx.com/authorized&scope=url%3AGET%7C%2Fapi%2Fv1%2Fcourses%2F%3Aid+url%3AGET%7C%2Fapi%2Fv1%2Fusers%2F%3Aid+url%3AGET%7...

The last one matches our requested scope associated with the developer key.

 

What exactly is expected in the non-legacy "Redirect URIs" field?

0 Likes