# PKCE with custom scheme

**URL:** <https://devforum.zoom.us/t/pkce-with-custom-scheme/80209>\
**Category:** Windows\
**Created:** [December 13, 2022, 10:12am UTC](https://devforum.zoom.us/t/pkce-with-custom-scheme/80209 "2022-12-13T10:12:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ymaenami](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@ymaenami](https://devforum.zoom.us/u/ymaenami)\
**Post date:** [December 13, 2022, 10:12am UTC](https://devforum.zoom.us/t/pkce-with-custom-scheme/80209/1 "2022-12-13T10:12:44Z")

</div>

I’m trying to authenticate with PKCE as per the documentation below. However, I cannot set a custom schema.

“Redirect URL for OAuth” in “SDK OAuth credentials” shows “Wrong URL format” when trying to set a custom schema.

 ![redirect-url-for-oauth](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/d/1d63cda01d98320225a4f1cbb4e4bda1473ed6f5.png)

Looking at the topic below, is it not possible to support custom schemas yet?

> [@Unable to create OAuth app with custom scheme for PKCE](https://devforum.zoom.us/t/unable-to-create-oauth-app-with-custom-scheme-for-pkce/64569):
>
> Description I’m trying to follow the OAuth PKCE guide at [Supporting OAuth in your SDK app](https://marketplace.zoom.us/docs/sdk/native-sdks/auth/support-oauth-SDK-app) It states: In your OAuth application on Marketplace, put the custom URL scheme in the redirect URL and allow list. So I tried that, using myapp://myapp.zoom.us?code for both the redirect URL and in the OAuth Allow List section. In both places, there’s a red error message of “Wrong URL format”. See the screenshot below for an example. (I’ve tried it with various other custom schemes. Only http and htt…

> [@MacOS app redirection](https://devforum.zoom.us/t/macos-app-redirection/63360):
>
> Hi! I need to implement OAuth for the app that uses Zoom SDK. But I can’t add redirect URL to my app zoomoauth://dev (picture) because I have received an error - Wrong URL format Even if I put it manually into url I have received next message: {“status”:false,“errorCode”:4700,“errorMessage”:“Invalid redirect: zoomoauth://dev”,“result”:null} so how can I add redirect to the app? (it’s the some for iOS/macOS)

Is there a way to authenticate without a backend server, other than PKCE?

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:** [January 12, 2023, 8:13pm UTC](https://devforum.zoom.us/t/pkce-with-custom-scheme/80209/2 "2023-01-12T20:13:01Z")

</div>

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