Setting non standard allowed origin for mobile apps

Hi,

My topic is related with this one:

We’re developing a mobile application using Trello API and we’re implementing authentication on the app. We are trying to redirect to our app scheme for the return url but we cannot specify on Allowed Origins something like app://return_url at https://trello.com/app-key, where app is the scheme registered on the system for our app.

I think it’s similar to the previous topic, but I would like to know if you are going to allow custom origin schemes on Trello API.

Thanks in advance and Best Regards.

We don’t currently support non-http-based URLs for allowed origins.

Is there a standard URL format that would be used here that we could include in a regex? Is app:// used elsewhere?

@selim13 do you have thoughts?

You can check Apple documentation. Android is similar:

https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app