Working with your Developer Account including creating a new App, Certification of App using CDK APIs, submitting and API, Managing API utilizations.

OAuth flow Redirect URL can't handle underscore

Jacob Veatch
March 6 2022 at 2:05 PM

Using an underscore ("_") in a redirect URL for an oauth flow returns a "/?error=flow+not+supported". Example: Registered a redirect url of {baseURL}/oauth/fortellis_redirect, and received the aforementioned error after authenticating. Changing the redirect url to {baseURL}/oauth/fortellisredirect will properly return the PKCE code from the flow for the user. Underscores are valid URLs and the flow should be able to handle them.