Hi, we are encountering the following issue:
We have two ways of registering to our system
Email and password
OpenID Connect Identity Providers
When registering a user through username and password, the search index is updated properly. However, when registering a user with an OpenID connect identity provider, the search index is not updated. Unless we re-index, the user is not populated in the search index.
We are using Fusionauth 1.45.2.
Attaching the two functions we use for registering both.
OpenID Connect
def register_user(user_data, user_id=None, tenant_id=None, application_id=None):
# setting tenant ID to fusionauth client object
client = set_tenant_id(tenant_id)
application_id = (
DEFAULT_APPLICATION_ID if application_id is None else application_id
)
user_registration_request = {
"registration": {"applicationId": application_id, "data": user_data}
}
if not user_id:
response = client.register(user_registration_request)
else:
response = client.register(user_registration_request, user_id)
return response
Hi, we are encountering the following issue: We have two ways of registering to our system
When registering a user through username and password, the search index is updated properly. However, when registering a user with an OpenID connect identity provider, the search index is not updated. Unless we re-index, the user is not populated in the search index.
We are using Fusionauth 1.45.2. Attaching the two functions we use for registering both.
OpenID Connect
Email and Password register
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.