auth

Paddy 2015-07-18 Parent:aa14e29b666f

179:7bba108d2d9a Go to Latest

auth/authd/wrapper.sh

Send events when logins are verified. Add an ActionLoginVerified constant to use as the action when a login has been verified. On second thought, this should probably just be "verified", huh? Then we can reuse it across models. Oops. We also added a call to send a login verified event to NSQ when the login is verified.

History
1 #!/bin/sh
3 JWT_SECRET_FILE=${JWT_SECRET_FILE:-/private/kubernetes/jwt/secret}
5 JWT_SECRET=`cat ${JWT_SECRET_FILE}`
7 JWT_SECRET="${JWT_SECRET}" JWT_SECRET_IS_BASE64_ENCODED="true" ./authd