Closed hexsprite closed 9 years ago
Mmh, I think I saw that error a couple of times too. Iirc it was because google takes a bit of time to update the redirect_url, but it may not be the same issue. If I find time I'll take a look at it later tonight (can't promise anything though :-( , too many things to do, too little time. Alas, life... :-D )
@pscanf fair enough. I made some progress by adding ?close to the redirect URL. Now it gets past that point without the server side error. But the login window remains open and I don't actually get logged in.
Aha. Looks like running it from a file:// URL is not ok in terms of origin checking.
Uncaught SecurityError: Blocked a frame with origin "http://localhost:3000" from accessing a frame with origin "null". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "file". Protocols must match.
Did you manage to fix it at the end? May have been the same issue of #69. Closing for cleanup, reopen if necessary.
I'm getting this error from Meteor on the server side
I checked the login url that is being generated by Asteroid:
Compared to what is being generated by Meteor
I checked and the redirect_uri that is in the loginUrl generated by Asteroid is in my Google API configuration. (http://localhost:3000/_oauth/google)