Browse Source

example: add grpc example

pull/585/head
Eric Chiang 10 years ago
parent
commit
29864f0ccb
  1. 29
      examples/config-grpc.yaml

29
examples/config-grpc.yaml

@ -0,0 +1,29 @@
issuer: http://127.0.0.1:5556
storage:
type: sqlite3
config:
file: examples/dex.db
web:
http: 127.0.0.1:5556
grpc:
addr: 127.0.0.1:5557
connectors:
- type: mockCallback
id: mock-callback
name: Mock
- type: mockPassword
id: mock-password
name: Password
config:
username: "admin"
password: "PASSWORD"
staticClients:
- id: example-app
redirectURIs:
- 'http://127.0.0.1:5555/callback'
name: 'Example App'
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
Loading…
Cancel
Save