PromucFlow_constructor/app/server/config.yml
Arpit Mohan 1133b53437 Adding Google authentication via Goth. All endpoints can now be authenticated.
Other changes include:
* Also removing httprouter mux in favour of gorilla for being more mature and having more integrations and resources available for debugging.
* Adding http middlewares for logging req processing time and handling authentication.

TODO: Need to add context in the middleware as well. Will be useful for logging and debugging.
2019-03-16 15:47:47 +05:30

20 lines
383 B
YAML

server:
host: 0.0.0.0
port: 8000
datastore:
dialect: postgres
host: localhost
port: 5432
user: postgres
password: root
schema: mobtools
maxOpenConnections: 5
auth:
provider: google
key: 447275779593-5gd5vlqtofcmstit1et2gh949b8m8ss2.apps.googleusercontent.com
secret: xJpQZ1Xd5YvJZ6gcVMmBVqFz
callbackUrl: /auth/google/callback
sessionSecret: (Nm<7b4Sa$