-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get refresh_token results in error #52
Comments
It's similar problem with me I guess? It happened after the consent screen. |
I found two reasons for the problem.
I rearranged the order of the code a bit to get the uriString first, then get the exactUrl and compare them. See this: jungti1234@6e376fd Now it works fine, but I don't know if it's the best code, best way, it would be great to improve it. |
And I added the prompt parameter. See this: |
@jungti1234 Awesome! Thank you for your time to solve this issue. Your solution works. Should we create a pull request for this? |
@remcova Yes, I don't mind if you create a pull request. |
I think it would be nice to include all the changes. Especially the refresh token. While pull requests do get approved here, they are not being merged, unfortunately.. |
When I try to get the refresh_token, I use the parameter "prompt" and set it to "consent". Unfortunately, I get the following error in the webview window from Google Firebase:
Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared.
This is my code:
Does anyone experience this issue too? I've tried several things but nothing seems to work so far.
The text was updated successfully, but these errors were encountered: