Skip to content
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

Github signup does not work #98

Closed
synox opened this issue Mar 27, 2017 · 9 comments
Closed

Github signup does not work #98

synox opened this issue Mar 27, 2017 · 9 comments

Comments

@synox
Copy link

synox commented Mar 27, 2017

I get redirected to an empty page after github auth.

@jboner
Copy link
Member

jboner commented Aug 3, 2017

@synox Is this still the case?

@synox
Copy link
Author

synox commented Aug 3, 2017

still the same for me.
image

@jboner
Copy link
Member

jboner commented Aug 4, 2017

When you refresh the site, have you been added to the signatories page?

@synox
Copy link
Author

synox commented Aug 4, 2017

No, still not on the list

@jboner
Copy link
Member

jboner commented Aug 4, 2017

@jroper Any ideas?

@jroper
Copy link
Member

jroper commented Aug 16, 2017

Hi @synox,

I can only reproduce this if I try to access the website using https, GitHub sign in redirects you back to the http site which is not allowed to access the window opener because it was https. Doing so however requires ignoring an SSL error saying that the domain name is wrong. Did you do this? Or do you plugins that might be automatically switching you to https? We don't support https on reactive manifesto at the moment.

Other possibilities include using a different domain name to access the site (though I'm not sure how you could have done that accidentally), having a JavaScript disabled (though this would probably have prevented you from even attempting to log in in the first place), or having some weird browser security configuration that's blocking child windows from accessing their opener.

If it's none of the above, then can you answer the questions below:

  • Does it just happen in Firefox, or does it happen in all browsers?
  • What version of Firefox are you using?
  • When you get the blank page, are there any errors in the JavaScript console (accessible through the developer tools - ie right click on the page and click "Inspect element", then click on the console tab)? If so, please paste them in full here.

Cheers,

James

@synox
Copy link
Author

synox commented Aug 16, 2017

I did some more testing. I did't have a "Name" in my Github Account.

When I add a name in the profile it works! Does a missing name trigger an error?

@jroper
Copy link
Member

jroper commented Aug 18, 2017

Thanks @synox, that would likely explain it, our parsing of GitHub profile data assumes that the name field will always be present. I'll update it to make it optional, and I'll also update the UI so that it renders any errors encountered at this step, this will make diagnosis of similar errors easier in future.

@jroper
Copy link
Member

jroper commented Aug 18, 2017

Issue fixed here:

reactivemanifesto/website-manifesto@e4af5af

Also, now error reporting is better, this is the message you would see now (if I hadn't have fixed the bug):

manifesto-error

@jroper jroper closed this as completed Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants