# Feature OP-15487 - Users API: Find user by identity_url

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-15487

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 2 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a instance administrator (enterprise instance)  
**I want to** find users by 'identity\_url' using the users endpoint of the rest api  
**so that** I can run custom scripts using 'my' user-id.

**Acceptance criteria**

  - Any way to get a user by identity\_url using the Rest API

Explanation: We use OpenProject using our SSO and are currently opening a connection to get user-ids of user's that our SSO knows as our "identity\_url". As of now, I know of any other option than to get all users and then search for a particular one. This does not scale well, say on thousands of users.

I guess some combination of users-endpoint and filter like \`/api/v3/users?filter=\[{"identity\_url": {"name": "=", "\<MyValue\>} }\]  
or something similar (I am not yet very familiar with the filter syntax but I hope the idea is clear).
