# Aouth type aothorization

**URL:** <https://devforum.zoom.us/t/aouth-type-aothorization/3018>\
**Category:** App Marketplace\
**Created:** [January 18, 2019, 4:04pm UTC](https://devforum.zoom.us/t/aouth-type-aothorization/3018 "2019-01-18T16:04:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Kollen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mike_kollen/32/669_2.png) [@Mike\_Kollen](https://devforum.zoom.us/u/Mike_Kollen)\
**Post date:** [January 18, 2019, 4:04pm UTC](https://devforum.zoom.us/t/aouth-type-aothorization/3018/1 "2019-01-18T16:04:15Z")

</div>

Hi Everyone  
I use OAuth solution.  
The first step Authorization Endpoint  
I generated link [https://zoom.us/oauth/authorize?response\_type=code&state={sessionKey}&client\_id=nWuvKfvLQ42J6Ya8lYugXw&redirect\_uri=https%3A%2F%2Fzoom-dev.esynctraining.com%2Flti%2FZoomAuthCallbackAction](https://zoom.us/oauth/authorize?response_type=code&state=%7BsessionKey%7D&client_id=nWuvKfvLQ42J6Ya8lYugXw&redirect_uri=https%3A%2F%2Fzoom-dev.esynctraining.com%2Flti%2FZoomAuthCallbackAction)

If copy this link in browser and I am not logged in Zoom I will be redirect to  
https: [//zoom.us/oauth/signin?\_rnd=1547827105219&client\_id=nWuvKfvLQ42J6Ya8lYugXw&\_zm\_bu=https%3A%2F%2Fzoom.us%2Foauth%2Fauthorize%3Fresponse\_type%3Dcode%26state%3D{sessionKey}%26client\_id%3DnWuvKfvLQ42J6Ya8lYugXw%26redirect\_uri%3Dhttps%3A%2F%2Fzoom-dev.esynctraining.com%2Flti%2FZoomAuthCallbackAction](https://zoom.us/oauth/signin?_rnd=1547827105219&client_id=nWuvKfvLQ42J6Ya8lYugXw&_zm_bu=https%3A%2F%2Fzoom.us%2Foauth%2Fauthorize%3Fresponse_type%3Dcode%26state%3D%7BsessionKey%7D%26client_id%3DnWuvKfvLQ42J6Ya8lYugXw%26redirect_uri%3Dhttps%253A%252F%252Fzoom-dev.esynctraining.com%252Flti%252FZoomAuthCallbackAction)

I have to logged in zoom and after that i will be redirect to https:// [zoom-dev.esynctraining.com/lti/ZoomAuthCallbackAction?code=rzmpjVFUs8\_hxYospYTROeo73rtvVq-OA&state={sessionKey}](http://zoom-dev.esynctraining.com/lti/ZoomAuthCallbackAction?code=rzmpjVFUs8_hxYospYTROeo73rtvVq-OA&state=%7BsessionKey%7D)

It is OKEY and clear.

But If I use this link  
https: [//zoom.us/oauth/authorize?response\_type=code&state={sessionKey}&client\_id=nWuvKfvLQ42J6Ya8lYugXw&redirect\_uri=https%3A%2F%2Fzoom-dev.esynctraining.com%2Flti%2FZoomAuthCallbackAction](https://zoom.us/oauth/authorize?response_type=code&state=%7BsessionKey%7D&client_id=nWuvKfvLQ42J6Ya8lYugXw&redirect_uri=https%3A%2F%2Fzoom-dev.esynctraining.com%2Flti%2FZoomAuthCallbackAction)  
in IFrame html element of my site I will be redirect to [https://zoom.us/oauth/signin](https://zoom.us/oauth/signin). This link does not have url parameters. And it happens only if I use link in IFrame. I can log in zoom but there will not be redirection to callback url.

Why this link does not work in IFrame ?

---

<div class="post-metadata">

**Author:** ![TimZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/timzoom/32/978_2.png) [@TimZoom](https://devforum.zoom.us/u/TimZoom)\
**Post date:** [January 18, 2019, 11:22pm UTC](https://devforum.zoom.us/t/aouth-type-aothorization/3018/2 "2019-01-18T23:22:58Z")

</div>

We do not support the use of OAuth in IFrames. This is recommended by the OAuth 2 spec for security.

[https://tools.ietf.org/html/draft-ietf-oauth-v2-23#section-10.13](https://tools.ietf.org/html/draft-ietf-oauth-v2-23#section-10.13)

---

<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, 6:09pm UTC](https://devforum.zoom.us/t/aouth-type-aothorization/3018/3 "2020-08-21T18:09:16Z")

</div>

Closed on August 21, 2020, 6:09pm UTC


