100 Commits
Author SHA1 Message Date
Sebastian ManckeandGitHub bf6909d19d Merge pull request #78 from magikstm/API-Example-1
Add a new example under "API Examples"
2018-03-14 09:22:35 +01:00
Sebastian ManckeandGitHub 449987a7eb Merge pull request #77 from magikstm/Cross-Platform-Filepath-Caddy-Setup-Test
Minor correction for cross-platform filepath
2018-03-14 09:21:27 +01:00
Sebastian ManckeandGitHub 550bed11a6 Merge pull request #76 from magikstm/Add-Test-In-Logging-1
Add a missing test in logger.go
2018-03-14 09:17:45 +01:00
Sebastian ManckeandGitHub 51ca743738 Merge pull request #72 from magikstm/Issue-71
Adjust behavior on empty username and token refresh
2018-03-14 09:08:16 +01:00
Sebastian ManckeandGitHub cd718ade49 Merge pull request #70 from magikstm/minor-corrections
Minor corrections on the main page
2018-03-06 16:29:35 +01:00
Sebastian ManckeandGitHub af9d05217a Merge pull request #69 from afdecastro879/master
Facebook OAuth provider
2018-02-20 07:15:48 +01:00
Sebastian Mancke 40a5fceb66 added missing script 2018-02-18 20:32:38 +01:00
Sebastian Mancke fffdc2010c fix for docker push 2018-02-18 20:20:38 +01:00
Sebastian ManckeandGitHub 9cd4a3e08c Merge pull request #63 from LukeHandle/patch-1
login-picture auto width
2018-02-18 17:11:50 +01:00
Sebastian Mancke cc018e5b43 test ENV variable for LOGINSRV_USER_FILE 2018-02-16 17:48:54 +01:00
Sebastian Mancke f43a821500 fixed broken test 2018-02-16 17:31:49 +01:00
Sebastian Mancke 1e1b36bd1e caddy demo for custom claims 2018-02-16 17:24:35 +01:00
Sebastian Mancke 81ca088a12 support for custom claims in a user file 2018-02-16 17:15:29 +01:00
Sebastian Mancke 91c1710eca fixed caddy setup tests 2018-02-16 11:36:42 +01:00
Sebastian Mancke a5733ef860 support for elliptic curve signing methods 2018-02-16 11:11:41 +01:00
Sebastian ManckeandGitHub 0d99e0462c Merge pull request #64 from tarent/dynamic-redirects
Dynamic redirects
2018-02-16 09:31:53 +01:00
Sebastian Mancke b68609443c changed lookup path for RedirectHostFile to current working directory 2018-02-16 09:26:54 +01:00
Sebastian Mancke c39a242d4a fixed caddy readme 2018-01-09 23:59:35 +01:00
Sebastian Mancke b230877149 redirect documentation and caddy demo 2018-01-09 23:55:55 +01:00
Sebastian Mancke 83ccded6f0 rename redirect config parameters
allow-redirects -> redirect
  redirect-query-parameter -> redirect-query-parameter
  check-referer-on-redirects -> redirect-check-referer
  whitelist-domains-file -> redirect-host-file
2018-01-09 23:16:04 +01:00
Sebastian Mancke ea40df699b Overworked the dynamic redirect patch
* Reduced nesting in functions with early returns
* Some renamings
* Resolve whitelist path relative to caddy config
* Moved all redirect methods to redirect.go and redirect_test.go
* Only read the url direct from the parameter, if it is a post request
* Removed the parameter prevent-external-redirects, because it can be implicit assumed, when a whitelist is configured
2018-01-09 22:29:59 +01:00
Sebastian ManckeandGitHub fc82c689a6 Update README.md
Added Bitbucket in Provider List
2017-11-19 17:21:58 +01:00
Sebastian ManckeandGitHub 3bfcceea06 Update README.md
Added a Note to google Scope
2017-11-19 16:47:58 +01:00
Sebastian ManckeandGitHub 0209158f5d Merge pull request #59 from dobegor/patch-1
Update README.md to note about People API for Google
2017-11-17 16:54:38 +01:00
Sebastian Mancke 15fde6118a removed test for {user} log, since it is not in caddy release, yet 2017-11-14 21:51:16 +01:00
Sebastian Mancke da2c6d759d removed test for {user} log, since it is not in caddy release, yet 2017-11-14 21:48:45 +01:00
Sebastian Mancke 1c72f98de3 removed test for {user} log, since it is not in caddy release, yet 2017-11-14 21:38:01 +01:00
Sebastian ManckeandGitHub aa943b53de Merge pull request #56 from lhopki01/master
Fix issue with jwt secret defaulting to "random key" in caddy if not specified by JWT_SECRET
2017-11-14 20:15:03 +01:00
Sebastian ManckeandGitHub 4fe9c1b9bd Merge pull request #55 from afdecastro879/master
#51 | Added Bitbucket Oauth2 support
2017-11-14 16:34:45 +01:00
Sebastian Mancke 33a9bae99e Check for replacement of the user in caddy handler. 2017-11-12 21:11:09 +01:00
Sebastian ManckeandGitHub a4c2464c62 Merge pull request #49 from lhopki01/master
Fix issues with picture display
2017-10-23 10:42:41 +02:00
Sebastian ManckeandGitHub bec362a315 Merge pull request #48 from lhopki01/master
add domain to google oauth jwt
2017-10-18 17:32:18 +02:00
Sebastian ManckeandGitHub 3b7bab5940 Merge pull request #47 from schnatterer/patch-1
Updates Caddy Readme to avoid deprecation warning
2017-10-07 18:32:40 +02:00
Sebastian Mancke fdf90ae4d0 added ca certificates to docker image 2017-08-20 12:00:44 +02:00
Sebastian Mancke 4be4533286 added ca certificates to docker image 2017-08-20 12:00:44 +02:00
Sebastian ManckeandGitHub 1e91658b37 Merge pull request #41 from chriswessels/patch-1
Updated docs to indicate scope param required for Google OAuth
2017-08-17 19:43:37 +02:00
Sebastian Mancke 4c6faf50d2 added screenshot with google login 2017-08-17 13:27:23 +02:00
Sebastian Mancke 37d5a0be8f avoid panic in case of invalid repons from google 2017-08-17 10:14:31 +02:00
Sebastian Mancke 51f4e57d01 avoid panic in case of invalid repons from google 2017-08-17 10:09:18 +02:00
Sebastian Mancke 4885ce53ef fixed list comparision 2017-08-17 10:03:34 +02:00
Sebastian Mancke 00890cf0d0 Merge branch 'paybase-feature/google' 2017-08-17 09:57:07 +02:00
Sebastian Mancke fbec01d0a6 added google support to the readme 2017-08-17 09:56:53 +02:00
Sebastian ManckeandGitHub a8e4c02008 Merge pull request #38 from shamrin/patch-1
fix broken table formatting for Httpupstream
2017-07-26 11:45:43 +02:00
Sebastian ManckeandGitHub 88356fac2c Merge pull request #35 from tarent/bugfix/files_separator
change files/file separator from , to ;
2017-06-29 09:53:15 +02:00
Sebastian ManckeandGitHub d881bd3ab9 Merge pull request #34 from tarent/feature/multiple-comma-separated-htpasswd-files
Feature/multiple comma separated htpasswd files
2017-06-28 14:34:00 +02:00
Sebastian ManckeandGitHub adb465e486 Merge pull request #33 from SchulteMarkus/master
go fmt
2017-06-20 22:15:06 +02:00
Sebastian Mancke 7ceb900c37 enhanced testcoverage of httpupstream 2017-06-09 22:24:21 +02:00
Sebastian ManckeandGitHub 9b6671c7bd Merge pull request #29 from ymmtmdk/surppres-warning
Suppress `DEPRECATED` warning
2017-06-03 08:53:02 +02:00
Sebastian ManckeandGitHub 19fdb618da Merge pull request #27 from tarent/magikstm-master
Magikstm master
2017-05-30 23:02:36 +02:00
Sebastian Mancke 060174b317 added test for htpasswd reload 2017-05-30 22:57:27 +02:00
Sebastian Mancke c3590a5fd6 Merge branch 'master' of https://github.com/magikstm/loginsrv into magikstm-master 2017-05-30 22:46:08 +02:00
Sebastian Mancke a0772eb616 revert dockerfile change to user, because of bind exception 2017-05-30 11:20:39 +02:00
Sebastian ManckeandGitHub 7b297fbdf9 Merge pull request #26 from domano/add-user-to-dockerfile
Add user to dockerfile
2017-05-30 11:02:12 +02:00
Sebastian Mancke 91b029ebe1 internalized logging dependencies 2017-05-22 22:13:02 +02:00
Sebastian ManckeandGitHub 7492300307 Merge pull request #19 from magikstm/master
Correct a typo in an error message and a few other minor typos
2017-05-16 08:09:56 +02:00
Sebastian Mancke 759f01ff62 fixed some reportcard findings 2017-05-15 12:09:00 +02:00
Sebastian Mancke 0a1b423926 fixed some reportcard findings 2017-05-15 12:07:11 +02:00
Sebastian Mancke 93a2e745d5 fixed some reportcard findings 2017-05-15 12:01:22 +02:00
Sebastian Mancke a769eff0a2 fixed most golint findings 2017-05-15 11:56:24 +02:00
Sebastian Mancke 4276628b95 used . import for assert library in tests 2017-05-15 11:01:31 +02:00
Sebastian ManckeandGitHub 52893f34bc Merge pull request #18 from tarent/expiry-time
Expiry time and additional config ops
2017-05-13 22:26:53 +02:00
Sebastian Mancke 1123deab18 improved error message 2017-05-13 19:57:29 +02:00
Sebastian Mancke fbb8a45c1c fixed behaviour on caddy config errors 2017-05-13 19:54:43 +02:00
Sebastian Mancke 1f2abd2d6c fixed behaviour on caddy config errors 2017-05-13 19:52:41 +02:00
Sebastian Mancke 726edd44da added test for claim valid method 2017-05-13 14:43:18 +02:00
Sebastian Mancke 733ce7cf1e honor expiry time on login info page 2017-05-13 14:28:15 +02:00
Sebastian Mancke 2c76f02671 Added -cookie-expiry, -cookie-domain, -jwt-expiry parameters 2017-05-13 14:02:11 +02:00
Sebastian Mancke dd9284bc07 Merge branch 'master' into expiry-time 2017-05-13 11:45:39 +02:00
Sebastian ManckeandGitHub 69e9dc946b Merge pull request #17 from magikstm/master
Correct some mispellings and minor cleanup
2017-05-13 11:34:50 +02:00
Sebastian ManckeandGitHub 478939fc71 Merge pull request #15 from magikstm/doc-typo
Readme - Typos and some small changes
2017-05-13 09:06:57 +02:00
Sebastian ManckeandGitHub 8eef953bfb Merge pull request #14 from magikstm/readme-update-1
Readme - Add a table for config options and add default for -text-logging
2017-05-13 09:05:52 +02:00
Sebastian ManckeandGitHub 5c7090a23e Merge pull request #13 from magikstm/master
Fixed some typos in error messages and comments
2017-05-13 09:04:01 +02:00
Sebastian ManckeandGitHub dd834a28e8 Merge pull request #12 from tarent/configurable-template
Configurable template
2017-05-12 14:16:19 +02:00
Sebastian Mancke 24d2058748 removed println 2017-05-12 14:11:01 +02:00
Sebastian Mancke 22a5496d2b show template filename in log on template errors 2017-05-12 14:07:27 +02:00
Sebastian Mancke 2edf9607d7 template path relative to caddy root 2017-05-12 13:45:09 +02:00
Sebastian Mancke 1560243789 fixed typo 2017-05-09 19:09:44 +02:00
Sebastian Mancke 57aa0b92f1 templating documentation 2017-05-09 15:29:34 +02:00
Sebastian Mancke 0b56b3804b parameters for custom template and logout-url 2017-05-09 13:48:23 +02:00
Sebastian Mancke de2e2081b7 template modularisation 2017-05-09 11:32:42 +02:00
Sebastian Mancke 0444d0b571 added more tests for oauth flow 2017-05-07 16:22:03 +02:00
Sebastian Mancke 21e85dc4f9 fixed setting of httponly 2017-05-06 00:29:35 +02:00
Sebastian ManckeandGitHub 19d03fd412 Update README.md 2017-05-06 00:00:00 +02:00
Sebastian Mancke 50e4a46394 added caddy configuration demo 2017-05-05 19:59:28 +02:00
Sebastian ManckeandGitHub 31671ca457 Merge pull request #10 from tarent/fix-prefix-handling
Fix prefix handling
2017-05-05 19:52:29 +02:00
Sebastian ManckeandGitHub 40a0315810 Merge pull request #5 from tarent/consistent-config-handling
Consistent config handling
2017-05-05 19:52:10 +02:00
Sebastian Mancke 38e621e466 fixed backward compatibility 2017-05-04 23:30:02 +02:00
Sebastian Mancke d6064b178a fixed backward compatibility 2017-05-04 23:26:39 +02:00
Sebastian Mancke a1b77df942 fixed log formating 2017-05-04 23:20:56 +02:00
Sebastian Mancke 38c218b1b1 configuration of login path 2017-05-04 23:16:53 +02:00
Sebastian Mancke 7d5e2257f5 removed RegisterDevDirective, because this is in upstream 2017-05-04 22:22:13 +02:00
Sebastian ManckeandGitHub cebc21f86b moved planed feature to issue tracker 2017-05-04 22:00:03 +02:00
Sebastian Mancke 6ec82b68bf Make subdirective names consistent #4 2017-05-04 21:26:40 +02:00
Sebastian Mancke 42d8affe03 removed RegisterDevDirective, because this is in upstream 2017-05-04 20:57:54 +02:00
Sebastian Mancke e1859a6018 fixed prefix handling for github in caddy 2017-05-03 16:52:05 +02:00
Sebastian ManckeandGitHub c92d63f937 Update README.md 2017-05-03 16:42:37 +02:00
Sebastian Mancke 0f48c6e2e4 register all provider in caddy by default 2017-05-03 16:10:04 +02:00
Sebastian Mancke a73a165973 set expiry time to fixed offset 2017-05-03 16:05:32 +02:00
Sebastian ManckeandGitHub 2a1adaed40 Update README.md 2017-05-02 14:36:51 +02:00
Sebastian Mancke 5e6101d095 image resolution 2017-05-02 14:16:32 +02:00