-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use tahoe-lafs GitHub org for Discourse instance's GitHub login #14
Comments
Which entities have read access to the |
At the org-level, I don't know. Presumably the organizations' admins? From the setting page that I see, I cannot read It is also not clear if the |
Can Discourse see the secret?
In all cases where I've transferred ownership between a user and an organization, the secret has remained the same. |
I looked at the "admin" page with my Discourse account and it will show me the secret. |
This isn't necessarily a problem ... but I do worry about it a little. At the very least, it seems like anyone we make a Discourse admin gains access to the secret. What can they do with the secret? Well, they can pretend to be https://tahoe-lafs.discourse.group/ - but they have to do so at https://tahoe-lafs.discourse.group/. And what they get out of it is the email addresses known to github of anyone who falls for it. It's not much of an attack. Did I miss something else they could do with the secret, though? |
Ah, now I understand! Yes, Discourse has the secret. As a Discourse admin, I can view it, so my assurance about not having the secret saved somewhere means naught.
We can perhaps do this:
Not sure if the above is a reasonable approach, but it is an approach... |
I can't think of any other use of the token. But I guess I am assuming that Discourse will remain trustworthy and only ever ask for email, and anyone that uses GitHub login will stay alert to Discourse asking for too many permissions. |
This is a convoluted and confusing issue title. Sorry. :-)
Once GitHub login is enabled for Discourse, folks will not have to create a separate account for yet another discourse instance. To that end, we have enabled GitHub login on https://tahoe-lafs.discourse.group, but it uses a
github_client_id
andgithub_client_secret
that your humble correspondent has created, so the login screen on GitHub side will look a bit odd. It will look like the Discourse instance is run by your humble correspondent, whose connection with Tahoe-LAFS project is not immediately clear.To make it appear a little more official, we should rather be using @tahoe-lafs organization's
github_client_id
andgithub_client_secret
. I have initiated transfer of the OAuth app I created to the @tahoe-lafs organization. The transfer is still in "pending" status.Someone who is an GitHub org admin has to accept the transfer. The button to click that accepts/authorizes the transfer will be presumably somewhere under tahoe-lafs GitHub org's developer settings.
Please accept the transfer, and relieve my GitHub account of gatekeeping duties!
The text was updated successfully, but these errors were encountered: