Closed itamart closed 8 years ago
This issue still exists in the updated plugin
Test scenario?
do you have access to MHCampus UI?
(Same test with same property value succeeds with a real external ID value (e.g. qtstud3))
What is the token user id in your test case? With identity type internal the service expects the token user id to be the internal id. If you create the token with username and the username is different from the internal userid, as is likely to be the case, the request will fail. I'm adding a test client for the get user info service.
where do you find the token user id?
The token user id is contained in the token that is passed to the service call. If the test is via the UI, the token is generated by the Connnector. We need Vadim to advise how the token is created on the Connector side.
From Vadim: Authorization connector has “identity_type” property, which is not being treated in plugin (GetUserInfo entry point). If its value is “internal”, the plugin should assume the user id being passed is an internal user id, otherwise – user name. Similar thing exists in gradebook for reference, except that gradebook also allows “lti” value.