Functions-samples: The insta-auth example does not seem to work anymore.

Created on 29 Apr 2019  路  3Comments  路  Source: firebase/functions-samples

How to reproduce these conditions

popup.html does not close and does not redirect

Steps to set up and reproduce:
Open the demo at https://instagram-auth.appspot.com/
Click on SIGN IN WITH INSTAGRAM button which will led to /popup.html
Enter your instagram credentials.
Gets stuck at "Waiting for instagram-auth.appspot.com"

Expected behavior

Popup should close and the example should show logged in user's details.

Actual behavior

Popup never closes. Tested in Safari and Chrome.

All 3 comments

yep, it not working anymore, cookies cannot set right.

info: Received verification state: undefined
Received state: df60bf26f8dad8b381cc355b51fcc3825a15fee7
error: (node:48417) UnhandledPromiseRejectionWarning: Error: State cookie not set or expired. Maybe you took too long to authorize. Please try again.

and @iekuzmuk , if you think your link can solute this issue,
please say something.

Do not use safe cookes for localhost. Or then its a safari problem with Cloud functions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aaronte picture aaronte  路  6Comments

Rovel picture Rovel  路  5Comments

6vedant picture 6vedant  路  5Comments

Midhilaj picture Midhilaj  路  5Comments

rodrigosol picture rodrigosol  路  3Comments