You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A request from Canvas will have keys with multiple values such as
ext_outcome_data_values_accepted=[url,text]
If you aren't implementing a servlet (e.g. in a Play framework application), you cannot use LTIVerifier.verifyParameters. There is no Map<String, String> that you can pass.
You need to be able to pass a Map<String, String[]> or a similar multi-valued map.
Also, are you including key/value pairs in the url in the verification? If so, it would be good to clearly state that in the docs. If not, that would be a useful service to provide.
The text was updated successfully, but these errors were encountered:
The underlying oauth library's API takes a Collection<Entry<String, String>> for the parameter list (which allows for multiple values at the same key).
I'll update the Verifier interface to have an additional method which takes this as a parameter.
Also, to your second question, if parameters are included in the url & in the body, the url passed to LTIVerifier.verifyParameters should include the parameters from the url. They should not be removed from the url and included in the parameter list with the body parameters.
A request from Canvas will have keys with multiple values such as
If you aren't implementing a servlet (e.g. in a Play framework application), you cannot use
LTIVerifier.verifyParameters
. There is noMap<String, String>
that you can pass.You need to be able to pass a
Map<String, String[]>
or a similar multi-valued map.Also, are you including key/value pairs in the url in the verification? If so, it would be good to clearly state that in the docs. If not, that would be a useful service to provide.
The text was updated successfully, but these errors were encountered: