Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Unable find the users from openid Connect #16423

Closed
nmanthena18 opened this issue Oct 3, 2023 · 4 comments
Closed

Unable find the users from openid Connect #16423

nmanthena18 opened this issue Oct 3, 2023 · 4 comments

Comments

@nmanthena18
Copy link

Description

I am using openID connect with keycloak, I am unable to find all the users, I can able to find only the user who loggedin atleat once.

Steps to reproduce

  • use the openID connect for the user login
  • search user who are not loggedin atleast one time.

Homeserver

All

Synapse Version

{"server_version":"1.86.0rc2","python_version":"3.11.6"}

Installation Method

Docker (matrixdotorg/synapse)

Database

postgres

Workers

I don't know

Platform

AWS/Ubuntu

Configuration

No response

Relevant log output

No logs

Anything else that would be useful to know?

Suppose to get all the users from fedarated database.

@clokep
Copy link
Member

clokep commented Oct 3, 2023

I can able to find only the user who loggedin atleat once.

Users don't exist on the Synapse side until they've logged. You could pre-populate users using the admin API, but this is mostly working as expected.

@clokep clokep closed this as completed Oct 3, 2023
@nmanthena18
Copy link
Author

@clokep its OIDC if we are trying to prepulate the users, after they trying to login its creating new account with username adding 1 at end.

@clokep
Copy link
Member

clokep commented Oct 3, 2023

its OIDC if we are trying to prepulate the users, after they trying to login its creating new account with username adding 1 at end.

You need to properly populate the external_ids field.

We use GitHub to track bugs, please use Synapse admins for additional support.

@nmanthena18
Copy link
Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants