aboutsummaryrefslogtreecommitdiff
path: root/server
AgeCommit message (Collapse)Author
2016-06-02Validate tokens correctlyNiall Sheridan
This switch statement doesn't do what I thought it does
2016-05-29Switch from json to hcl configsNiall Sheridan
This is backward-compatible with the JSON config format - this is a non-breaking change. HCL treats config blocks as repeated fields so the config has to be unmarshalled into a struct comprised of []Server, []Auth, []SSH first.
2016-05-29Remove unneeded template_dirNiall Sheridan
2016-05-28Set expiry time in the github auth packageNiall Sheridan
2016-05-24Don't allow wide-open Google or Github configsPatrick O'Doherty
Fail loudly if either the google_opts domain value or github_opts organization values are not set in the configuration. The lack of these values means that a) in the Google case any @gmail.com address will be allowed b) the Github case any Github user will be allowed. This was previously documented but left as a foot-gun in the code. Future commits will allow for explicit wildcards to be set.
2016-05-22Make template directory configurableNiall Sheridan
2016-05-22Move server/main.go to top-level server.goNiall Sheridan
Also add a Dockerfile
2016-05-22Open the browser automaticallyNiall Sheridan
2016-05-21Log the issuing of new certsNiall Sheridan
2016-05-21Remove database config. Not needed.Niall Sheridan
2016-05-18miscNiall Sheridan
2016-05-18Don't use jwt, it doesn't buy a whole lot for this applicationNiall Sheridan
2016-05-18Do login if the provided token is invalidNiall Sheridan
2016-05-09Placeholder for database config.Niall Sheridan
2016-04-23Add config file testsNiall Sheridan
2016-04-23Refactor to use an io.Reader for easier testingNiall Sheridan
2016-04-23Fix commentsNiall Sheridan
2016-04-22Add github oauth provider.Niall Sheridan
2016-04-22Fix typo in comment.Olivier Tharan
2016-04-21Fix testNiall Sheridan
2016-04-21Just make ProviderOpts a map[string]string.Niall Sheridan
I have no idea why I made it a map[string]interface{} and it's a pain to deal with.
2016-04-21Some small fixes.Niall Sheridan
Rename 'GoogleOpts' to 'ProviderOpts'. Rename Principals to AdditionalPrincipals to match the config option.
2016-04-21use correct config parameterNiall Sheridan
2016-04-21Missed some bitsNiall Sheridan
2016-04-20add commentsNiall Sheridan
2016-04-20Add comments.Niall Sheridan
2016-04-20Be explicit that this is for signing user keysNiall Sheridan
2016-04-20dumb tests for the google auth providerNiall Sheridan
2016-04-20use a better function nameNiall Sheridan
2016-04-20dumb tests for the google auth providerNiall Sheridan
2016-04-19this serves no purposeNiall Sheridan
2016-04-19SSH signer testsNiall Sheridan
2016-04-18Initial commitNiall Sheridan