From 29864f0ccbfceab51dc081c68c28f4331128cf5c Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Tue, 4 Oct 2016 00:28:25 -0700 Subject: [PATCH] example: add grpc example --- examples/config-grpc.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/config-grpc.yaml diff --git a/examples/config-grpc.yaml b/examples/config-grpc.yaml new file mode 100644 index 00000000..ee0345ee --- /dev/null +++ b/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