AnsweredAssumed Answered

What are redirect URIs in add developer key

Question asked by Zbynek Dusatko on Jul 25, 2018
Latest reply on Jul 27, 2018 by Peter Love

Hi there,

we are trying to use one dev key/token for multiple redirect URIs. In these both docs here
How do I add a developer key for an account? 

and
OAuth2 Endpoints - Canvas LMS REST API Documentation 

Redirect URIs is a list of either domains or subdomains (I assume new line separated). 

 

In our settings we left "Redirect URI (legacy):" empty and in our "Redirect URIs:" we listed multiple domains

for example:

https://subdomain1.tlt.utah.edu

https://subdomain2.tlt.utah.edu

 

and our actual redirect_uri in application was https://subdomain1.tlt.utah.edu/outcomes/api/canvas/123456

Unfortunately this gave us Canvas error:

while(1);{"error":"invalid_request","error_description":"redirect_uri does not match client settings"}

when we updated "Redirect URI (legacy):" to https://subdomain1.tlt.utah.edu/outcomes/api/canvas
our app at subdomain1.tlt.utah.edu worked great but not on other domains.

 

Would anybody know what we are doing incorrectly?

 

Thanks,

Zbynek

 

Outcomes