Skip to main content

Hey everyone,

so far I was convinced that by specifying the “Redirect URI for OAuth2.0” for my app I could define the page users would be forwarded to after installing my app to give a few more instructions and context how to find and use it. I am pretty sure that it worked like that in the past, but running two tests today, both times the Miro startpage was shown instead the defined one after install. 

Does anyone have a clue how I can properly define it.

Thanks in advance.

Henrik

Hey ​@henrik_w,

Good question, happy to clarify. To that end, the redirect URL that you want to redirect users to should be added to the Share/Installation URL for the app as a parameter, redirect_uri, that matches the exact same redirect URI you provided in the app settings. For example:
https://miro.com/app-install/?response_type=code&client_id={{client_id}}&redirect_uri={{redirect_uri}}

Note that, in your app settings, if you have the option for your redirect URI selected for “Use this URI for SDK authorization”, it will default to create a Share URL at the bottom of the app settings page to use “/app-install-completed” as a redirect parameter, which redirects back to Miro.

If you ensure the redirect URI param in your install URL matches that in your app settings, it should bring you to that URL on installation.

Let me know if it helps!
Will
 


@William Bishop Thanks for the quick reply. I just had another look at the settings, and I hope I understood you right. I do have the same URI in both, “Redirect URI for OAuth2.0” and as a parameter in “Share app”. When I use the “Share App” link and install, the redirect is fine. 

However, I got the “confirm-app-install” as parameter when installing it through the “Connect” button on our Miro marketplace page.

Is there anything I need to do to also include the redirect in the marketplace button URI?

Thanks for your help.

Henrik


Hey ​@henrik_w,

Ah, I see! Thanks for clarifying—we can help update the URI for your Marketplace listing so that it redirects in the desired way. I’ve just shot you a DM about this for the necessary details.

Thanks!
Will


Reply


OSZAR »