Add "picture" to the /userinfo endpoint. (#1914)

* Add "picture" to the /userinfo endpoint.

This may be null or a URL.
 add picture for the test authentication method
This commit is contained in:
bmccandless
2020-10-07 12:17:23 -07:00
committed by GitHub
parent eb108feb37
commit cf77a8da9e
5 changed files with 25 additions and 9 deletions
+1
View File
@@ -117,5 +117,6 @@ def get_client_userinfo(app_config, data_adaptor):
"username": auth.get_user_name(),
"user_id": auth.get_user_id(),
"email": auth.get_user_email(),
"picture": auth.get_user_picture(),
}
return userinfo