# Handling Auth (+ In-client OAuth)

**URL:** <https://devforum.zoom.us/t/handling-auth-in-client-oauth/67043>\
**Category:** Zoom Apps\
**Created:** [April 5, 2022, 11:32pm UTC](https://devforum.zoom.us/t/handling-auth-in-client-oauth/67043 "2022-04-05T23:32:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [April 5, 2022, 11:32pm UTC](https://devforum.zoom.us/t/handling-auth-in-client-oauth/67043/1 "2022-04-05T23:32:30Z")

</div>

Hi all,

I’m currently reviewing our app’s authentication

I was looking at the `startAuthorize()` API from the SDK ([link here](https://marketplace.zoom.us/docs/beta-docs/zoom-apps/js-sdk/apis#startauthorize)) but it wasn’t clear what this actually does or how it works.

I assumed it would initiate the OAuth flow by opening the browser (today) and then in the future it would start the OAuth flow in-client, but that doesn’t seem to be the case

I used the API in my Zoom app by:

1. adding the `startAuthorize` scope to the app,

2. including it in the `capabilities` field when calling `config()`, however when I actually call

`zoomSdk.callZoomApi("startAuthorize")`

I get the following error message:

`Error: No Permission for this API. [code:80002, reason:unknown_api_name]`

* * *

I get the impression this API was created last year for in-client auth but it isn’t currently usable?

Overall I am a bit lost, so wondering:

1. Does this API work and should we be using this API to authenticate now? (it seems not)

2. Will the in-client OAuth be utilizing this API to authenticate?

3. Does anyone know if there’s anywhere I can find documentation on the upcoming In-client OAuth?

Thanks!

---

<div class="post-metadata">

**Author:** ![arun.j](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arun.j/32/36331_2.png) [@arun.j](https://devforum.zoom.us/u/arun.j)\
**Post date:** [April 7, 2022, 4:53pm UTC](https://devforum.zoom.us/t/handling-auth-in-client-oauth/67043/2 "2022-04-07T16:53:27Z")

</div>

Hi @om7 , thanks for the question. We will be announcing an update to this soon and phasing out this particular method to be replaced with a new one. We are currently not accepting apps for review that have the in-client auth setting enabled in the build flow. We are on-track to support the new version of in-client auth with the upcoming 5.10.3 release. Hope that helps!
