File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ In the main directory:
76
76
```
77
77
export GOOGLE_CLIENT_ID=<your client ID from Google>
78
78
export GOOGLE_CLIENT_SECRET=<your client secret from Google>
79
+ export GOOGLE_CALLBACK_URL=<oAuth Callback URL that you set with Google>
79
80
<path-to-go-links>/go-links
80
81
```
81
82
82
- You can chose which HTTP port to use by passing to ` go-links ` the port through
83
- the -port parameter or set the environment variable PORT:
84
-
85
- ` go-links -port=8888 `
83
+ You can chose which HTTP and HTTPS ports to use by passing to ` go-links ` the
84
+ port through command line parameters or environment variables. ` go-links ` -help`
85
+ will show the different parameters.
86
86
87
87
## Browser Extension
88
88
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ var gconfig = &oauth2.Config{
18
18
// obtained from https://console.developers.google.com
19
19
ClientID : os .Getenv ("GOOGLE_CLIENT_ID" ),
20
20
ClientSecret : os .Getenv ("GOOGLE_CLIENT_SECRET" ),
21
- RedirectURL : "http://localhost:8080/_callback" , // This should match your configured redirect URI
21
+ RedirectURL : os . Getenv ( "GOOGLE_CALLBACK_URL" ) , // This should match your configured redirect URI
22
22
Scopes : []string {
23
23
"https://www.googleapis.com/auth/userinfo.email" ,
24
24
"https://www.googleapis.com/auth/userinfo.profile" ,
You can’t perform that action at this time.
0 commit comments