dousong2023 2016-07-12 01:17
浏览 28

我有从外部URL重定向回我的应用程序的问题

Situation: I want a user to visit external URL, which offers the authentication service. When a user access to the external page throughout the inappbrowser, there is no problem with the authentication process. However, when its user finishes the authentication process, the page redirection to my app is not working. To be more accurate, I will explain about the intended workflow here: users click a authentication button -> my app opens a webview that shows the external page which provides the authentication service by using the inappbrowser plugin -> users fill out a form and proceed to complete the authentication -> user click the confirm or complete button -> authenticated user info goes into the receiving php, which is along with the path of my app's domain -> from the php page, which the authentication info is landed, the page is redirected to our app.

However, there is a problem with the end of the above process. When I try to redirect the webview page back to my app, it is not working and just stuck in the php page, even though I put the page redirection codes in the page, such as window.location.href or location.href

Ionic version & plugins version used: ionic 1.3.1 cordova-plugin-inappbrowser 1.4.0

Please help me with this issue.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 自适应 AR 模型 参数估计Matlab程序
    • ¥100 角动量包络面如何用MATLAB绘制
    • ¥15 merge函数占用内存过大
    • ¥15 Revit2020下载问题
    • ¥15 使用EMD去噪处理RML2016数据集时候的原理
    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
    • ¥15 单片机无法进入HAL_TIM_PWM_PulseFinishedCallback回调函数
    • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
    • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
    • ¥15 如何在炒股软件中,爬到我想看的日k线