mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 06:55:11 -04:00
Add basic SAML tests for mapping users. (#8800)
This commit is contained in:
parent
d3ed93504b
commit
c21bdc813f
5 changed files with 156 additions and 19 deletions
|
@ -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)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue