auth

Paddy 2015-06-29 Parent:8ecb60d29b0d Child:b7e685839a1b

174:9e3ceddf29ad Go to Latest

auth/client.go

Use an environment variable to set the JWT secret. When setting up the authd server, populate the JWT secret using a JWT_SECRET environment variable. Incidentally, we also included the subscriptions scope, for testing purposes while creating code.secondbit.org/ducky/subscriptions. We now also log the port we're listening on, listen on all interfaces (instead of just 127.0.0.1), and changed the port to 9000 instead of 8080.

History