Add basic SAML tests for mapping users. (#8800)

This commit is contained in:
Patrick Cloke 2020-12-02 07:09:21 -05:00 committed by GitHub
parent d3ed93504b
commit c21bdc813f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 156 additions and 19 deletions

View file

@ -265,7 +265,7 @@ class SamlHandler(BaseHandler):
return UserAttributes(
localpart=result.get("mxid_localpart"),
display_name=result.get("displayname"),
emails=result.get("emails"),
emails=result.get("emails", []),
)
with (await self._mapping_lock.queue(self._auth_provider_id)):