functions-samples
functions-samples copied to clipboard
The insta-auth example does not seem to work anymore.
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.
https://firebase.google.com/docs/storage/extend-with-functions
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