Provide opportunity to override redirect_uri
in Request.ltiAdvantageLogin
#208
Labels
enhancement
New feature or request
redirect_uri
in Request.ltiAdvantageLogin
#208
Is your feature request related to a problem? Please describe.
When registering an LTI tool with the platform, the redirect URIs need to be fixed. I would like to set it to the
lti.appRoute()
. However when starting the login, ltijs puts the target_uri_link as the redirect_uri when sending the request to the platform's authentication endpoint.Describe the solution you'd like
Three options I can think of right now:
lti.appRoute()
asredirect_uri
.options.useStaticLaunchUrl
. If that'strue
then uselti.appRoute()
asredirect_uri
. Otherwise, use the current behavior.Favorite option would be 1.
Describe alternatives you've considered
see above
Additional context
Related code: https://github.com/Cvmcosta/ltijs/blob/master/src/Utils/Request.js#L16
The text was updated successfully, but these errors were encountered: