webview do silent login and redirect to main page but main windows not change
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
Dear all,
I got an very tricky issue, when run process in main page (we call page 1) as following
window.location.href = "/auth/access/"+window.atk.access_token;
and go to silent login process(we call page 2), and then redirect back to main page(page 1)。
but main page doesn't appear right log in users information。
when I run same process in browser, the redirect back to main page can display log in user info. it is works.
and then I put delay 2 second to do the webViewObject?.Reload(); the webview can display right content include user info.
I cannot figure out which part is issue here.
Does every one has idea what is issue on this.
Any information will be appreciated.
Andy Chiang
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the page 1 to page 2 flow using window.location.href with /auth/access/ and compare it with the browser behavior. Check the WebView navigation around the later webViewObject?.Reload(); call; done means the main page updates to show the logged-in user without requiring a delayed reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, javascript, objective-c, unity
- Domain
- authentication, mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100