# Code and access token in a weird format

**URL:** <https://devforum.zoom.us/t/code-and-access-token-in-a-weird-format/1448>\
**Category:** API and Webhooks\
**Created:** [July 17, 2018, 11:30am UTC](https://devforum.zoom.us/t/code-and-access-token-in-a-weird-format/1448 "2018-07-17T11:30:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maja\_Grubic1](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@Maja\_Grubic1](https://devforum.zoom.us/u/Maja_Grubic1)\
**Post date:** [July 17, 2018, 11:30am UTC](https://devforum.zoom.us/t/code-and-access-token-in-a-weird-format/1448/1 "2018-07-17T11:30:07Z")

</div>

I’m trying to implement OAuth flow in my app.&nbsp;  
First, I&nbsp;get the code back in a weird format, eg:&nbsp;7ZkE3gpTrD\_NG86d8zvTCOFtuNNXD-PuA

I don’t know what those underscores are. When I make a subsequent request, I get a properly&nbsp;formatted&nbsp;response, with access\_token and refresh\_token, but again, access\_token seems way too long and in an invalid format:

eyJnbGciOiJIUpUxZiJ9.eyJhdWQiOiJodHRcczovL29hdXRoLnpvb20udXMiLCJhY2NvdW50SWQiOiJWY21vWDBxMlFVV3BrTE1vWGs0LUxnIiwidmVyIjoiMS4xIiwibmJmIjoxNTMxODIzNTc5LCJjbGllbnRJZCI6ImZ6eWEzWndYUnY2SGRuck83MEFNZmciLCJpc3MiOiJ1cm46em9vbTpjb25uZWN0OmNsaWVudGlkOmZ6eWEzWndYUnY2SGRuck83MEFNZmciLCJlbnYiOltudWxsXSwiZXhwIjoxNTMxODI3MTc5LCJ0b2tlblR5cGUiOiJhY2Nlc3NfdG9rZW4iLCJpYXQiOjE1MzE4MjM1NzksInVzZXJJZCI6Ik5HOTZkOGZ2VENPWnR1Qk5YRC1QdUEiLCJqdGkiOiI0MjA1OGNkYi0xYWYzLTRjOGItYjFkNy1lZjI3ODJkNTAwNTYifQ.hGHI0VD3oUsivCESOT4aEfX3Ok0MhuZtH7N8JXs9iLoFv85p6QLQD2q4jA05Oe1FG0vZbsMIeQIw-0xexKtF1g

Any ideas what this is and where it’s coming from?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [July 17, 2018, 5:50pm UTC](https://devforum.zoom.us/t/code-and-access-token-in-a-weird-format/1448/2 "2018-07-17T17:50:33Z")

</div>

Hi Maja,&nbsp;

The code and access token are designed to have dashes and underscores, along with a long access token for security reasons. Does your access token work?

Thanks

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:50pm UTC](https://devforum.zoom.us/t/code-and-access-token-in-a-weird-format/1448/3 "2020-08-21T17:50:37Z")

</div>

Closed on August 21, 2020, 5:50pm UTC


