FastLink Refresh Site flow shows error page or goes directly to callback

馋奶兔 提交于 2019-12-13 02:43:15

问题


When following the documentation for the Refresh Site flow, I end up in one of two situations:

1) The iFrame shows this error screen:

this occurs with both real accounts and DAG accounts.

2) The iFrame is immediately redirected to my callback URL with oauth_token, account_id and status parameters, where status is "in_progress". That's fine if that's how it's supposed to work, but it's my understanding based on the FastLink Product Guide that the refresh flow should result in the iFrame showing something like this:

Here's an example URL I'm using to do the refresh site flow:

https://fastlink.yodlee.com/appscenter/fastlinksb/refreshSiteAccount.fastlinksb.action?_flowId=siteRefresh&access_type=oauthdeeplink&displayMode=desktop&oauth_callback=http%3A%2F%2Flocalhost%3A1337%2Faccounts%2Fflcb&oauth_consumer_key=a458bdf184d34c0cab7ef7ffbb5f016b&oauth_nonce=brHRw0pcm7H&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411683203&oauth_token=efd25ae5021c4bd1a2464e82abad1415&oauth_version=1.0&siteAccountId=10031675&oauth_signature=VEuajIwPxUA43u1kdRIlICAulHc=

This is using the sandbox. Any idea what could be going wrong?


回答1:


Few things about FastLink feature on developer portal -

  1. Only linkAccount flow is enabled completely
  2. Refresh flow will only work for non-MFA and siteAccounts which are in success state and doesn't have any UAR errors.
  3. Edit flow will not work on developer portal.

Refresh and Edit flow is available once you get your own environment with Yodlee.

Now about the error you are getting -

1) The iFrame shows this error screen:

An account can only be refreshed once in 15 minutes until in first attempt there was an error . So if you have tried refreshing an account within 15 minutes of initial refresh , you will encounter this problem.

2) The iFrame is immediately redirected to my callback URL

If the account is non-MFA then this is how it will behave as there is no user interaction needed and hence UI is not shown. In case of MFA account you will get the UI.

MFA stands for Multi factor authentication.



来源:https://stackoverflow.com/questions/26049062/fastlink-refresh-site-flow-shows-error-page-or-goes-directly-to-callback

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!