# Zoom is adding cookies to query parameters and refreshing the sign in page

**URL:** <https://devforum.zoom.us/t/zoom-is-adding-cookies-to-query-parameters-and-refreshing-the-sign-in-page/70570>\
**Category:** API and Webhooks\
**Created:** [June 15, 2022, 4:29pm UTC](https://devforum.zoom.us/t/zoom-is-adding-cookies-to-query-parameters-and-refreshing-the-sign-in-page/70570 "2022-06-15T16:29:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjaneyagurjar](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@anjaneyagurjar](https://devforum.zoom.us/u/anjaneyagurjar)\
**Post date:** [June 15, 2022, 4:29pm UTC](https://devforum.zoom.us/t/zoom-is-adding-cookies-to-query-parameters-and-refreshing-the-sign-in-page/70570/1 "2022-06-15T16:29:33Z")

</div>

Hello everyone!

I am trying to automate a Zoom login on the browser using Selenium in Python.

The manual steps are as follows:

1. Visit `https://www.zoom.us/signin`

2. Enter the email and password.

3. Click in ‘Sign in’ button.

When I try to do the same steps using Selenium I am facing an issue on the step #1.

The `https://www.zoom.us/signin` page opens up. But then the page refreshes itself and the new URL contains two query parameters as follows: `https://www.zoom.us/signin?_x_zm_rtaid=<value>&_x_zm_rhtaid=<value>`. When the script then enters the correct email and password, the page throws a `HTTP 401` error. This only happens during Selenium automation. If I do a manual login, `https://www.zoom.us/signin` page does not refresh itself, accepts the credentials and logs in successfully.

Kindly help me understand as to why the `signin` page refreshes itself _ **only during automation** _ and adds those two query parameters to the URL.

I would appreciate any help or direction in resolving this issue. Please let me know if any additional information is required from my side.

Thank you!

---

<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:** [July 16, 2022, 2:30am UTC](https://devforum.zoom.us/t/zoom-is-adding-cookies-to-query-parameters-and-refreshing-the-sign-in-page/70570/2 "2022-07-16T02:30:13Z")

</div>

Closed on July 16, 2022, 2:30am UTC

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