You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,3 +21,15 @@ bundle && yarn
21
21
22
22
foreman start -f Procfile.dev
23
23
```
24
+
25
+
## Github Authentication
26
+
27
+
We use Github for authentication. So you will need to register a new OAuth application on Github.
28
+
29
+
Please make sure you set the authorization callback URL correctly. With the default devise and omniauth settings, add `/users/auth/github/callback` to your root URL.
30
+
31
+
For example, here are the settings for an app running on localhost port 3000:
32
+
33
+
Once you've set up your Github app, Github will provide you with a Client ID and secret. You need to add these to your app's environment as `GITHUB_APP_ID` and `GITHUB_APP_SECRET`.
34
+
35
+
For development, the easiest way is to put them in your `~/.bash_profile`, start a new terminal window and restart your Rails server.
0 commit comments