# Close browser oauth window or tab after login

**URL:** <https://devforum.zoom.us/t/close-browser-oauth-window-or-tab-after-login/70409>\
**Category:** Meeting SDK\
**Created:** [June 13, 2022, 2:22am UTC](https://devforum.zoom.us/t/close-browser-oauth-window-or-tab-after-login/70409 "2022-06-13T02:22:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratuthit](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@ratuthit](https://devforum.zoom.us/u/ratuthit)\
**Post date:** [June 13, 2022, 2:22am UTC](https://devforum.zoom.us/t/close-browser-oauth-window-or-tab-after-login/70409/1 "2022-06-13T02:22:19Z")

</div>

Using Windows SDK 5.10.3.4884

I am trying to migrate to Oauth authentication.

After successful authentication, the browser is able to launch the registered app using a custom scheme.

However, the browser window remains open and authenticated. How can the browser window be made to close after authentication?

Thank you very much.

---

<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 23, 2022, 11:35am UTC](https://devforum.zoom.us/t/close-browser-oauth-window-or-tab-after-login/70409/2 "2022-12-23T11:35:05Z")

</div>

@ratuthit,

Thank you for posting in Zoom Developer Forum and I am sorry for the missed response here. To clarify, can you tell us if you are using the C# or C ++ Windows SDK? This information will help us provide a more personalized solution.

That aside, we have new PKCE OAuth documentation support documentation for reference:

# PKCE OAuth and the Meeting SDK for Windows C++

[https://marketplace.zoom.us/docs/sdk/native-sdks/windows/pkce-cpp/](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/pkce-cpp/)

# PKCE OAuth and the Meeting SDK for Windows C#

[https://marketplace.zoom.us/docs/sdk/native-sdks/windows/pkce-c-sharp/](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/pkce-c-sharp/)
