Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
33e3c04b
Commit
33e3c04b
authored
Feb 23, 2016
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples: set example app flag defaults to work with --no-db mode
parent
f51125f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.go
examples/app/main.go
+3
-3
No files found.
examples/app/main.go
View file @
33e3c04b
...
@@ -28,11 +28,11 @@ func main() {
...
@@ -28,11 +28,11 @@ func main() {
fs
:=
flag
.
NewFlagSet
(
"oidc-app"
,
flag
.
ExitOnError
)
fs
:=
flag
.
NewFlagSet
(
"oidc-app"
,
flag
.
ExitOnError
)
listen
:=
fs
.
String
(
"listen"
,
"http://127.0.0.1:5555"
,
""
)
listen
:=
fs
.
String
(
"listen"
,
"http://127.0.0.1:5555"
,
""
)
redirectURL
:=
fs
.
String
(
"redirect-url"
,
"http://127.0.0.1:5555/callback"
,
""
)
redirectURL
:=
fs
.
String
(
"redirect-url"
,
"http://127.0.0.1:5555/callback"
,
""
)
clientID
:=
fs
.
String
(
"client-id"
,
""
,
""
)
clientID
:=
fs
.
String
(
"client-id"
,
"
example-app
"
,
""
)
clientSecret
:=
fs
.
String
(
"client-secret"
,
""
,
""
)
clientSecret
:=
fs
.
String
(
"client-secret"
,
"
ZXhhbXBsZS1hcHAtc2VjcmV0
"
,
""
)
caFile
:=
fs
.
String
(
"trusted-ca-file"
,
""
,
"the TLS CA file, if empty then the host's root CA will be used"
)
caFile
:=
fs
.
String
(
"trusted-ca-file"
,
""
,
"the TLS CA file, if empty then the host's root CA will be used"
)
discovery
:=
fs
.
String
(
"discovery"
,
"http
s://accounts.google.com
"
,
""
)
discovery
:=
fs
.
String
(
"discovery"
,
"http
://127.0.0.1:5556
"
,
""
)
logDebug
:=
fs
.
Bool
(
"log-debug"
,
false
,
"log debug-level information"
)
logDebug
:=
fs
.
Bool
(
"log-debug"
,
false
,
"log debug-level information"
)
logTimestamps
:=
fs
.
Bool
(
"log-timestamps"
,
false
,
"prefix log lines with timestamps"
)
logTimestamps
:=
fs
.
Bool
(
"log-timestamps"
,
false
,
"prefix log lines with timestamps"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment