My app initiates an OAuth2 flow and and uses URL scheme for the redirect URI to redirect users back to my app.
When I install the app from the app store and start OAuth2 flow, it successfully opens the app at the end. But on users devices it doesn’t recognize the URL scheme and prompts an error message : Safari cannot open the page because the address is invalid.
I am using Branch.io for universal links but I don't think that could affect anything and I can't think of anything else that could break url scheme.
Does anyone have any suggestions or ideas?