Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index of passwordChangeRequired to enable ElasticSearch queries #2997

Open
rinkledink opened this issue Feb 12, 2025 · 2 comments
Open

Index of passwordChangeRequired to enable ElasticSearch queries #2997

rinkledink opened this issue Feb 12, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@rinkledink
Copy link

Index of passwordChangeRequired to enable ElasticSearch queries

Problem

Elasticsearch queries on passwordChangeRequired return no results because the field is not indexed.

Works ✅
{
"match": {
"verified": {
"query": true
}
}
}

No results ❌
{
"match": {
"passwordChangeRequired": {
"query": true
}
}
}

No results ❌
{
"match": {
"passwordChangeRequired": {
"query": false
}
}
}

Solution

Add this field to the index

Alternatives/workarounds

Use the FusionAuth API to fetch each user and check passwordChangeRequired field

Additional context

N/A

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

@mooreds mooreds added the enhancement New feature or request label Feb 12, 2025
@mooreds
Copy link
Collaborator

mooreds commented Feb 12, 2025

Thanks for the feedback @rinkledink ! Can you share more about why you want to search out users who have a password change required? It's always helpful for us to understand the "why" behind an enhancement request.

@rinkledink
Copy link
Author

We have performed a big bang migration and required all users to reset their password in the big bang process. We know want to understand how many of those users have successfully managed to reset their password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants