# Oauth Authorization URL "state" Parameter issue

**URL:** <https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923>\
**Category:** API and Webhooks\
**Created:** [October 12, 2020, 9:21am UTC](https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923 "2020-10-12T09:21:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![megeshd.vidyayug](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@megeshd.vidyayug](https://devforum.zoom.us/u/megeshd.vidyayug)\
**Post date:** [October 12, 2020, 9:21am UTC](https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923/1 "2020-10-12T09:21:41Z")

</div>

**Description**  
User Oauth Authorization process after the user login step we are not getting the “state” parameter full value (some part of value is mission in url ) which we pass as request part.

**Error**  
In Some cases as mention below, “state” parameter value not getting full value.

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

**Which Endpoint/s?**  
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**How To Reproduce (If applicable)**

**Case 1** : While User Oauth Authorization process if user entered wrong password multiple times and lastly time entered correct password and authorized successfully

**Case 2** : While User Oauth Authorization process if user solved captcha two or more times and authorized successfully

**Additional context**  
In Some cases it is working fine like if “state” param value contain only plane string value

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 13, 2020, 4:32pm UTC](https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923/2 "2020-10-13T16:32:24Z")

</div>

Hi @megeshd.vidyayug,

Thanks for reaching out. Can you please share the following so that I can help debug?

- Redirect URL
- Whitelist URL
- What you’re passing for your state parameter
- Screenshot/copy of URL that contains the partial state paremeter

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![megeshd.vidyayug](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@megeshd.vidyayug](https://devforum.zoom.us/u/megeshd.vidyayug)\
**Post date:** [October 14, 2020, 4:48am UTC](https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923/3 "2020-10-14T04:48:33Z")

</div>

Hi @will.zoom

Thanks for reply,  
We have resolved the issue by sending the state parameter value in base64encode format.

Regards  
Megesh

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 14, 2020, 7:33pm UTC](https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923/4 "2020-10-14T19:33:15Z")

</div>

Hi @megeshd.vidyayug,

I’m glad you were able to resolve the issue, and thanks for sharing your solution. 💯

Best,  
Will

---

<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:** [November 14, 2020, 5:33am UTC](https://devforum.zoom.us/t/oauth-authorization-url-state-parameter-issue/32923/5 "2020-11-14T05:33:16Z")

</div>

Closed on November 14, 2020, 5:33am UTC

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