# Trouble building a new SCIM integration

**URL:** <https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523>\
**Category:** API and Webhooks\
**Created:** [January 11, 2022, 10:31pm UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523 "2022-01-11T22:31:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ash/32/34005_2.png) [@ash](https://devforum.zoom.us/u/ash)\
**Post date:** [January 11, 2022, 10:31pm UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523/1 "2022-01-11T22:31:30Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I’m trying to build a new plugin for our ticketing automation system to create/delete accounts in Zoom (for employee onboarding workflow) via SCIM, and having a lot of issues along the way.

**Error**

1. When I do a normal oauth flow, I get back a token with the scopes ‘scim’, but when I try to query `https://api.zoom.us/scim2/Users` I get `401: Invalid access token.` despite the token clearly coming back with the scim scope.

2. If I instead use the test url from my app developer page, and add in the needed state argument to pass my own checks, I get a token that works, sorta. When I query `https://api.zoom.us/scim2/Users` I get back `400: Account hasn't enabled Single Sign-On.`

But when I go to enable SSO, I’m required to provide a bunch of SAML links that I don’t have because I don’t want to use SAML. I just want to read/create accounts fir the scim2/Users url.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Oauth/SCIM

**Which Endpoint/s?**  
[https://api.zoom.us/scim2/Users](https://api.zoom.us/scim2/Users)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. GET [https://api.zoom.us/scim2/Users](https://api.zoom.us/scim2/Users)
2. See error

---

<div class="post-metadata">

**Author:** ![ziegenberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ziegenberg/32/15748_2.png) [@ziegenberg](https://devforum.zoom.us/u/ziegenberg)\
**Post date:** [January 12, 2022, 11:48am UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523/2 "2022-01-12T11:48:50Z")

</div>

The prerequisites in the API reference for using the SCIM2 API lists the following items:

- Zoom Owner or Admin privileges
- Business or Education account with approved
- Single Sign-On Enabled

See [https://marketplace.zoom.us/docs/api-reference/scim-api](https://marketplace.zoom.us/docs/api-reference/scim-api) for Details:

And the Zoom single sign-on (SSO) is based on SAML 2.0.

What prevents you from using the following Zoom API calls?

- [`POST /users`](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate)
- [`DELETE /users/{userId}`](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userdelete)
- [`PATCH /users/{userId}`](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userupdate)

---

<div class="post-metadata">

**Author:** ![ash](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ash/32/34005_2.png) [@ash](https://devforum.zoom.us/u/ash)\
**Post date:** [January 12, 2022, 7:15pm UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523/3 "2022-01-12T19:15:38Z")

</div>

We are using the owner account, so that’s covered.  
The account is a business one we signed up specifically to build this integration.  
We try to enable SSO, but like I said, we are not using SAML. (And there’s no technical requirement to use SAML for a SCIM client. They solve different problems and we’re not supporting SAML We do not have exposed endpoints for SAML. We are not providing IdP services. The requests are sent to SCIM from either a Slack request, or an open ticket in a customer’s ITSM product requesting access to a 3rd party, or part of an onboarding/offboarding flow.)

The only thing preventing us from using the non-SCIM endpoints is a desire to use the open standard which we already support instead of writing a plugin that only works with a single provider. (Exactly the situation that SCIM was authored to solve.)

So, since the RFCs for SCIM don’t require or even suggest a dependency upon SAML, I guess I’m asking how we setup SCIM with Zoom in an RFC-compliant way?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 22, 2022, 2:02am UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523/4 "2022-01-22T02:02:21Z")

</div>

@ash You bring up a good point. I’m not sure we support SCIM2 without SAML but that would certainly be useful and I’m always an advocate for aligning with the RFC. I reached out to our engineering team to get more information on this

ZOOM-341462

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 24, 2022, 10:43pm UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523/5 "2022-01-24T22:43:41Z")

</div>

@ash Thanks for your patience! Our team got back to me and indicated that our implementation of SCIM2 only supports SSO/IDP flows. When you aren’t using SSO, they recommended using endpoints from our Open API such as the [Create a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate).

If you would like this feature to be considered for a future release, I recommend posting in the [#feature-requests](https://devforum.zoom.us/c/feature-requests/23) category.

I hope that helps! Let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 24, 2022, 8:44am UTC](https://devforum.zoom.us/t/trouble-building-a-new-scim-integration/62523/6 "2022-02-24T08:44:22Z")

</div>

Closed on February 24, 2022, 8:44am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
