mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 03:54:09 -04:00
Ensure that the OpenID Connect remote ID is a string. (#8190)
This commit is contained in:
parent
5c03134d0f
commit
b055dc9322
3 changed files with 43 additions and 2 deletions
|
@ -869,6 +869,9 @@ class OidcHandler:
|
|||
raise MappingException(
|
||||
"Failed to extract subject from OIDC response: %s" % (e,)
|
||||
)
|
||||
# Some OIDC providers use integer IDs, but Synapse expects external IDs
|
||||
# to be strings.
|
||||
remote_user_id = str(remote_user_id)
|
||||
|
||||
logger.info(
|
||||
"Looking for existing mapping for user %s:%s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue