# Enable client when it registered

**URL:** <https://community.open-emr.org/t/enable-client-when-it-registered/24203>\
**Category:** Day-to-Day Users\
**Created:** [January 3, 2025, 1:03pm UTC](https://community.open-emr.org/t/enable-client-when-it-registered/24203 "2025-01-03T13:03:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ikshu](https://community.open-emr.org/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@Ikshu](https://community.open-emr.org/u/Ikshu)\
**Post date:** [January 3, 2025, 1:03pm UTC](https://community.open-emr.org/t/enable-client-when-it-registered/24203/1 "2025-01-03T13:03:53Z")

</div>

When I create a new client using the `/oauth2/default/registration` API and include all scopes, I know that specifying only the **patient** scope enables the client by default. However, I don’t want to limit the client to just the **patient** scope—I want to include **all scopes**.

How can I programmatically enable the client with all scopes without relying on the OpenEMR UI?

---

<div class="post-metadata">

**Author:** ![NosyScout](https://community.open-emr.org/letter_avatar_proxy/v4/letter/n/c89c15/32.png) [@NosyScout](https://community.open-emr.org/u/NosyScout)\
**Post date:** [July 23, 2025, 8:23am UTC](https://community.open-emr.org/t/enable-client-when-it-registered/24203/2 "2025-07-23T08:23:08Z")

</div>

> [@Ikshu](#):
>
> When I create a new client using the `/oauth2/default/registration` API and include all scopes, I know that specifying only the **patient** scope enables the client by default. However, I don’t want to limit the client to just the **patient** scope—I want to include **all scopes**.

Hi, have you figured this one out? I am facing the same issue. I want to run OpenEMR in docker container and provide seamless integration with my other services without the need to enter the OpenEMR UI. But as far as I know, the client enablement is not supported by API.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [July 23, 2025, 1:34pm UTC](https://community.open-emr.org/t/enable-client-when-it-registered/24203/3 "2025-07-23T13:34:48Z")

</div>

It’s not supported for security reasons.  
You must get approval to access a site.
