Hey Gil!
You can make use of the deeplinks to redirect back to mendix (deeplink module)
The constant loginlocation will store your mendix app url from the external API while calling back the mendix url again.
So you will pass the mendix deeplink as a return URI to the external API which is returned while calling the mendix app again.
Read more here:
https://docs.mendix.com/appstore/modules/deep-link/
Hope this helps!
Hello GiL,
Are you trying to use any familiar services API's where we can configure redirect URI's in the developer account.
Eg:http://localhost:8082/oauth/v2/callback_azure for Microsoft Azure.
Hope this helps.