1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-10-18 07:34:22 +00:00
Commit graph

17 commits

Author SHA1 Message Date
68780426b5
[#62] Add support for multiple domain requirements (#63) 2020-06-22 14:18:36 +02:00
4a72836925
Lint: Fix some minor linter errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-04-08 01:14:35 +02:00
6d0d520ffd
[#50] Handle all 4xx errors as "user not found" (#52)
* [#50] Handle all 4xx errors as "user not found"

to ensure broad acceptance of OIDC providers

Signed-off-by: Knut Ahlers <knut@ahlers.me>

* Fix: Error is reported earlier with Go default error

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-01-13 21:39:55 +00:00
3d0fb11afa
Switch to Go1.12+ vendoring
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-03 18:50:44 +01:00
07b98e0a57
Fix: Handle Unauthorized as no user found instead of generic error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-03 18:43:22 +01:00
09cf06c905
[#41] Set default cookie values in all providers (#45)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-06-29 12:40:39 +02:00
c511e08ab7
Fix: Even with offline access no refresh token is present
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-13 22:43:14 +02:00
93d242c404
Fix: Google not returning refresh tokens
which then causes logins with duration of more than 60m to time out and
not be able to refresh as of the missing refresh token. The "offline"
access type should ensure the token always contains a refresh token and
the user can be active for longer than 60m.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-13 21:23:14 +02:00
2b15b34bb4
Fix: Only overwrite default if config is non-empty
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-23 00:50:32 +02:00
6575bc553d
[#35] Implement OpenID Connect auth provider
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-23 00:50:32 +02:00
930a23f461
Modernize login dialog
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 19:43:56 +02:00
29beaa6fa3
Move auth plugins to own modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:06 +02:00
282a95c2e9
Move MFA plugins to own modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:06 +02:00
42db8e247d
Implement oAuth2 provider: Google
fixes #15
refs #35

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:42:44 +02:00
841f6458cd
Prepare moving auth plugins to own modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-21 16:58:06 +02:00
e9bff08810
Export errors for usage in plugins
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-22 00:27:02 +01:00
97b284034f
Add plugin support (#38)
* Extract Authenticator and MFAProvider interfaces
* Implement plugin loading
* Add config example

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-22 00:10:43 +01:00