# Can not login when in app marketpace window

**URL:** <https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219>\
**Category:** Zoom Apps\
**Tags:** webhooks\
**Created:** [December 10, 2024, 2:25pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219 "2024-12-10T14:25:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![expertswho](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/expertswho/32/60945_2.png) [@expertswho](https://devforum.zoom.us/u/expertswho)\
**Post date:** [December 10, 2024, 2:25pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/1 "2024-12-10T14:25:17Z")

</div>

I have a simple node.js app that can authenticate, view you meetings and get the user ID. This works fine in a separate browser.  
When I load in the Zoom App Browser, the static pages work fine, but those wishing to access the Zoom API for data do not work.  
This includes trying to log in.  
How should you authenticate/log in?  
I don’t think my session is logged in.

I click on the links where the API will be used and nothing happens.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 10, 2024, 7:56pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/2 "2024-12-10T19:56:53Z")

</div>

@expertswho ,  
Thank you for posting in the Zoom Developer Forum! I’m happy to help. To start, are you building a Zoom App?

# Zoom App

> **[Zoom Apps](https://developers.zoom.us/docs/zoom-apps/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

If so, then the recommended way to authenticate users within the Zoom Client is through in-client OAuth:

> **[Authentication](https://developers.zoom.us/docs/zoom-apps/authentication/#enabling-in-client-oauth-for-your-app)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

We have a sample implementation you can reference. Here is the link to the Zoom App sample:

> <https://github.com/zoom/zoomapps-advancedsample-react/blob/98992321e02efdb48ae3210b0437b8fe94657f2e/frontend/src/components/Authorization.js#L24>

---

<div class="post-metadata">

**Author:** ![expertswho](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/expertswho/32/60945_2.png) [@expertswho](https://devforum.zoom.us/u/expertswho)\
**Post date:** [December 10, 2024, 8:03pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/3 "2024-12-10T20:03:51Z")

</div>

thank you.  
I have the login auth working in a plain HTML window.  
I am then able to see my future meetings.  
But this does not work when launched in the marketplace app inside a Zoom live meeting.  
I am looking to make an app that works within the Zoom APP. It will read and write data to the Zoom meeting chat and Zoom Polls and display information on the Zoom background and as an overlay for the user window and in the APP window.  
The Zoom Countdown app would be the closest to the output I am looking for.  
Do I need to generate a ZWT to join the meeting? I am looking to put this in the marketplace when it is completed  
thanks in advance.  
From this, I am going to create a quiz show experience.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 10, 2024, 8:46pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/4 "2024-12-10T20:46:41Z")

</div>

@expertswho ,

> [@expertswho](#):
>
> But this does not work when launched in the marketplace app inside a Zoom live meeting.

Could you share the code snippet handling the API call and the response with us? This will help identify what may be happening.

> [@expertswho](#):
>
> I am looking to make an app that works within the Zoom APP. It will read and write data to the Zoom meeting chat and Zoom Polls and display information on the Zoom background and as an overlay for the user window and in the APP window.

To achieve this integration, we recommend building a Zoom App that implements Zoom App in-client OAuth. With the token you receive from the response (assuming it has the appropriate scopes), you’ll be able to access user account data and leverage Zoom App API calls to interact with the native Zoom client.

> [@expertswho](#):
>
> Do I need to generate a ZWT to join the meeting? I am looking to put this in the marketplace when it is completed

Here are the Zoom App APIs for in-client authorization:

## promptAuthorize

You can use the prompt to authorize users and get an access token:

> **[ZoomSdk | @zoom/appssdk - v0.16.36](https://appssdk.zoom.us/classes/ZoomSdk.ZoomSdk.html#promptAuthorize)**
>
> Documentation for @zoom/appssdk - v0.16.36

## authorize

You can use the API to initiate the authorization flow:

> **[ZoomSdk | @zoom/appssdk - v0.16.36](https://appssdk.zoom.us/classes/ZoomSdk.ZoomSdk.html#authorize)**
>
> Documentation for @zoom/appssdk - v0.16.36

## onAuthorized

You can use the event to response or make tYou can use the event to respond or make the API call when the access token is received.

Also, here is the API you would use to generate a deep link for your Zoom App:

## Generate an app deeplink

> **[Marketplace APIs](https://developers.zoom.us/docs/api/marketplace/#tag/apps/POST/zoomapp/deeplink)**
>
> The Marketplace APIs allow developers to access data related to their app and its usage in the marketplace.

---

<div class="post-metadata">

**Author:** ![expertswho](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/expertswho/32/60945_2.png) [@expertswho](https://devforum.zoom.us/u/expertswho)\
**Post date:** [December 13, 2024, 7:07pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/5 "2024-12-13T19:07:56Z")

</div>

OK, I get a callback code but it does no authorise.  
Here is the code snippet

// Redirect to Zoom OAuth  
router.get(‘/login’, (req, res) =\> {  
const authUrl = `${process.env.ZOOM_AUTH_URL}?response_type=code&client_id=${process.env.CLIENT_ID}&redirect_uri=${process.env.REDIRECT_URI}`;  
res.redirect(authUrl);  
});

// OAuth Callback  
router.get(‘/callback’, async (req, res) =\> {  
const { code, state, error } = req.query;

```
if (error) {
  // Handle error case
  console.error('OAuth Error:', error);
  return res.status(400).send(`Error: ${error}`);
}
if (!code) {
  return res.status(400).send('Authorization code is missing.');
}
console.log('Authorization Code:', code);

try {
  const response = await axios.post('https://zoom.us/oauth/token', null, {
    params: {
      grant_type: 'authorization_code',
      code: code,
      redirect_uri: process.env.REDIRECT_URI,
    },
    headers: {
      Authorization: `Basic ${Buffer.from(
        `${process.env.CLIENT_ID}:${process.env.CLIENT_SECRET}`
      ).toString('base64')}`,
    },
  });
  console.log('Reached point Y');
  console.log(resonse);

```

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 16, 2024, 4:56pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/6 "2024-12-16T16:56:29Z")

</div>

It looks like you are trying to OAuth token. We have samples you can reference:

> **[GitHub - zoom/zoom-oauth-sample-app: Sample Zoom Oauth App NodeJS app to call Zoom's...](https://github.com/zoom/zoom-oauth-sample-app)**
>
> Sample Zoom Oauth App NodeJS app to call Zoom's APIs

> **[Zoom](https://github.com/zoom?q=Oauth&type=all&language=&sort=)**
>
> Power Up Your Apps with Video, Phone, and Chat. Zoom has 96 repositories available. Follow their code on GitHub.

---

<div class="post-metadata">

**Author:** ![expertswho](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/expertswho/32/60945_2.png) [@expertswho](https://devforum.zoom.us/u/expertswho)\
**Post date:** [April 6, 2025, 12:11pm UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/7 "2025-04-06T12:11:15Z")

</div>

Had a binge on all the GIT ZOOM examples. I recommend that to everyone.  
BTW some are old and do not work so well, or have out of date libraries.  
It would be better for somebody to be responsible for keeping these up to date !!!

Can connect for all my use cases so far !!

---

<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:** [April 10, 2026, 3:47am UTC](https://devforum.zoom.us/t/can-not-login-when-in-app-marketpace-window/122219/8 "2026-04-10T03:47:43Z")

</div>

Closed on April 10, 2026, 3:47am UTC

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