Update:
- The authorization workflow makes use of a query string parameter to redirect the user after authorization, in the format
&redirect_uri=com.name.app://login-callback
. - The limitations to the device flow state that query string parameters cannot “be accessed from hosted login page or rules”.
Assuming that the “hosted login page” is the browser page visited by the user on their smartphone or computer, it would appear that we cannot make use of a redirect URL within a request to ensure that the device flow returns the user to the originating application. Furthermore, the redirect rule referenced above is inserted within the device flow, not at the end of the flow as desired.
Is there an Auth0 action we can use to redirect the user after the device flow is complete? Or can someone confirm whether or not this behavior is supported by Auth0?