# "Sign in" and "Add" functionality from \`promptAuthorize()\`

**URL:** <https://devforum.zoom.us/t/sign-in-and-add-functionality-from-promptauthorize/75568>\
**Category:** Zoom Apps\
**Created:** [September 7, 2022, 9:47pm UTC](https://devforum.zoom.us/t/sign-in-and-add-functionality-from-promptauthorize/75568 "2022-09-07T21:47:35Z")\
**Posts on this page:** 3\
**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:** [September 7, 2022, 9:47pm UTC](https://devforum.zoom.us/t/sign-in-and-add-functionality-from-promptauthorize/75568/1 "2022-09-07T21:47:35Z")

</div>

**Description**

We’re currently working on ways to elevate Guests to installed app users.

We’ve been playing around with the `promptAuthorize` API, and are wondering:

Have you considered exposing the functionality from this prompt?

Specifically, would you consider allowing apps to initiate “Sign in” to the client from within their app, and also allow them to initiate “Add” in-client?

As you can see in the screenshots below, the `promptAuthorize` prompt itself overlays our application. We’re hoping to give user a more native & seamless experience, and we cab do so given that we know their `authorized` status (from the `config` response).

**To try this yourself**

1. Use a Zoom app with Guest mode
2. Enable the `promptAuthorize` API
3. Call the `promptAuthorize` API for the Guest whilst using the application
4. a modal is shown allowing users to either Sign in (if `authorized: false`) OR Add the app (if `authorized: true`)

We are proposing new APIs to allow the app developer to do these actions directly.

Is there any other way to do this, and is it something you’ve considered before?

Thanks!

* * *

Screenshot 1: A view showing (1) the prompt triggered by `promptAuthorize` when signed out and (2) the sign in modal displayed upon clicking “Sign In”

 ![Screen Shot 2022-09-07 at 14.38.01](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/1/e11056e9dbf2a46865742e4d79fe6cec2610855a.jpeg)

Screenshot 2: A view showing the prompt triggered by `promptAuthorize` when signed in

 ![Screen Shot 2022-09-07 at 14.38.48](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/1/416be3bd4fc63705690ef2e6022ba3b6cfdcf3f7.jpeg)

---

<div class="post-metadata">

**Author:** ![ash.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ash.provost/32/36610_2.png) [@ash.provost](https://devforum.zoom.us/u/ash.provost)\
**Post date:** [September 7, 2022, 11:06pm UTC](https://devforum.zoom.us/t/sign-in-and-add-functionality-from-promptauthorize/75568/2 "2022-09-07T23:06:45Z")

</div>

Have you seen this page where you can make suggestions for new features / ideas? [https://portal.productboard.com/nsh3c2ofzhlj5rstqxwnbfp4/tabs/63-next](https://portal.productboard.com/nsh3c2ofzhlj5rstqxwnbfp4/tabs/63-next)

---

<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:** [September 7, 2022, 11:09pm UTC](https://devforum.zoom.us/t/sign-in-and-add-functionality-from-promptauthorize/75568/3 "2022-09-07T23:09:10Z")

</div>

Submitted. Thanks @ash.provost 😄
