gree / gree/unity-webview

Firebase account linking

Open
#1,003 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

I'm trying to get a Firebase token using a webview.
However, it seems that a error occurred in the redirect_url side.

error: Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. Some specific scenarios are - 1) Using IDP-Initiated SAML SSO. 2) Using signInWithRedirect in a storage-partitioned browser environment.

Is there anything I missed in the loadurl part?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the webview loadurl and redirect_url flow described in the report, then review how Firebase preserves its initial state through the redirect. Check whether inaccessible sessionStorage or storage partitioning explains the failure, and document a reproducible resolution or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, unity
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.