Custom app oauth process fails with Unauthorized access message

I have created a Custom app from within the Partners dashboard. For now I’ve set the App URL and Allowed redirection URLs to my ngrok endpoint. Whether I try to install the app from the Test app on development store or via a URL, I get the following message when trying to oauth:

Oops, something went wrong.

### What happened?

Unauthorized Access:

I feel like I must be doing something wrong in my setup, but for the life of me I can’t figure out what it is, or find a good documentation flow that shows a linear Custom app setup through to oauth.

Has anyone gotten past this who can articulate the process or point me to documentation that does?

There are docs here on how to do authentication and the various options for it. Authentication and authorization

I’d highly recommend using Shopify managed auth I’d you can as it simplifies the process a lot for you