260 Commits
Author SHA1 Message Date
Sebastian ManckeandGitHub 7c244ebe94 Merge pull request #86 from nicolaspernoud/master
Allow Bcrypt $2a$ prefix
2018-07-20 14:01:54 +02:00
Nicolas PERNOUDandGitHub 3a8bd5e876 Allow Bcrypt $2a$ prefix 2018-07-20 13:58:52 +02:00
Sebastian ManckeandGitHub e482109fc4 Merge pull request #81 from ducdigital/patch-1
Refer to the right API
2018-05-22 10:29:44 +02:00
Ta Duy DucandGitHub 1685aed161 Refer to the right API
Google API changed. Doc should be made more clear about it.
2018-05-21 17:16:33 +02:00
Sebastian ManckeandGitHub bf6909d19d Merge pull request #78 from magikstm/API-Example-1
Add a new example under "API Examples"
v1.2.4
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
magikstm 74e3fcaab1 Add title 2018-03-13 16:49:21 -04:00
magikstm 20497bfe6a Add an example under API Examples 2018-03-13 16:48:06 -04:00
magikstm 400f042e08 Minor correction for cross-platform filepath 2018-03-11 22:53:13 -04:00
magikstm a379167217 Add a missing test in logger.go 2018-03-11 19:51:18 -04:00
magikstm 34dd4b4aea Add test case 2018-03-11 17:49:12 -04:00
magikstm db9e6df951 Adjust behavior on empty username and token refresh 2018-03-11 17:30:45 -04: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
magikstm 05ef0550d7 Minor corrections 2018-03-06 03:12:39 -05:00
Sebastian ManckeandGitHub af9d05217a Merge pull request #69 from afdecastro879/master
Facebook OAuth provider
2018-02-20 07:15:48 +01:00
Andres Felipe De Castro fbf2da2cbe Adjusted title for facebook provider note 2018-02-20 00:45:18 +02:00
Andres Felipe De Castro 5aa437f36b Remove unnecessary character 2018-02-20 00:43:59 +02:00
Andres Felipe De Castro ee3009e7ce #60 | Updated documentation for facebook provider 2018-02-20 00:41:04 +02:00
Andres Felipe De Castro afe73aa099 #60 | Add Facebook Oauth provider 2018-02-20 00:40:27 +02: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
Gregor WeckbeckerandGitHub 2f1b169e56 Merge pull request #68 from tarent/user-file
support for custom claims in a user file
2018-02-16 17:42:19 +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
Gregor WeckbeckerandGitHub 25912cbf31 Merge pull request #67 from tarent/ec-support
support for elliptic curve signing methods
2018-02-16 12:46:03 +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
luke.hopkins d62ed493ba fix typo 2017-11-29 14:41:28 +00:00
luke.hopkins 3474245879 don't reuse the deleteToken function but explicitly sdelete it like we set it 2017-11-29 14:40:16 +00:00
Luke HanleyandGitHub d1359d177f login-picture auto width
Avoids badly proportioned non-square profile pictures
2017-11-26 17:24:19 +00:00
luke.hopkins 2217bfaddb Remove forgotten spew 2017-11-23 16:40:57 +00:00
luke.hopkins 4ac03fe1b1 Merge branch 'master' of github.com:lhopki01/loginsrv 2017-11-23 16:37:06 +00:00
luke.hopkins 31a491062e Fix merge conflict in README.md 2017-11-23 16:33:59 +00:00
luke.hopkins 63b850f2b5 preliminary implemntation of redirect logic 2017-11-23 16:30:01 +00:00
luke.hopkins 3f9fb92386 Allow for dynamic redirects using query parameters and cookies. Allow redirects to external domains by whitelist only. Check referer header before allowing a redirect. For https://github.com/tarent/loginsrv/issues/45 2017-11-23 16:24:55 +00: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
luke.hopkins dbba63f98e preliminary implemntation of redirect logic 2017-11-17 17:43:53 +00: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