Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Use GitHub for login #192

Merged
merged 2 commits into from
Apr 27, 2016
Merged

Use GitHub for login #192

merged 2 commits into from
Apr 27, 2016

Conversation

hawkowl
Copy link
Member

@hawkowl hawkowl commented Apr 27, 2016

How you can test this:

  • set up your vagrant vm like usual (base.bootstrap, t-web.install, trac.install, t-web.start, trac.start)
  • make some fake tls keys (t-web.makeTestTLSKeys, t-web.installTLSKeys)
  • set 172.16.255.140 twistedmatrix.com in your hosts file
  • go to https://github.com/settings/developers , register a new application, put the client ID in services/trac/trac-env/conf/trac.ini right at the bottom -- the one in there right now is the prod ID
  • ssh in to the vagrant vm, sudo su trac; mkdir ~/secrets; cat $THEIDSECRET > ~/secrets/secret.txt
  • go to https://twistedmatrix.com/trac/ , click on the 'github login' button... you should be logged in!

Works on my instance :D

@hawkowl hawkowl changed the title Use GitHub for login + authentication Use GitHub for login Apr 27, 2016
@mithrandi
Copy link
Contributor

👍 (I have not tested this locally, but I did review the diff)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants