mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 09:48:12 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user