- 08 Feb, 2020 4 commits
-
-
ale authored
-
ale authored
Add tests for correct encoding, and improve the logout Javascript code with a final status message warning the user if there were any errors.
-
ale authored
The sri_src, sri_href, and url_for functions allow us to simplify the templates by removing redundancy.
-
ale authored
Change the template structure and the static file server to allow filesystem-based overrides at runtime.
-
- 06 Feb, 2020 2 commits
- 06 Jan, 2020 1 commit
-
-
ale authored
-
- 20 Dec, 2019 11 commits
-
-
ale authored
-
ale authored
Metrics cover specifically the authentication workflow.
-
ale authored
-
ale authored
-
ale authored
-
ale authored
The sess.UserInfo is still unset at that stage, use valid information instead. This fixes a bug where keys were not being unlocked for users.
-
ale authored
-
ale authored
-
ale authored
Just to cover edge cases when sessions are about to expire.
-
ale authored
-
ale authored
-
- 19 Dec, 2019 12 commits
-
-
ale authored
Makes the authentication cookie quite shorter.
-
ale authored
This prevents an error where the keystore will have invalid keys even in presence of a valid SSO ticket (because the parent auth session has expired already).
-
ale authored
-
ale authored
-
ale authored
-
ale authored
This avoids browsers messing up the session state (given that /login calls session.Reset) with requests to various kinds of well-known URLs that might not exist. Also add an integration test for a server with non-nil URL prefix.
-
ale authored
Fix a pretty fundamental error where group memberships could not be verified. Also adds tests to ensure this does not happen again.
-
ale authored
-
ale authored
-
ale authored
-
ale authored
-
- 18 Dec, 2019 1 commit
-
-
ale authored
-
- 17 Dec, 2019 3 commits
-
-
ale authored
Session handling no longer depends on gorilla/sessions.
-
ale authored
Drop gorilla/sessions in favor of using gorilla/securecookie directly (we use a single cookie anyway). Since securecookie already has its own expiration timestamp, we can drop some stuff from httputil as well.
-
ale authored
-
- 16 Dec, 2019 3 commits
-
-
ale authored
There is no need for the complex gorilla/sessions machinery for what is basically a single cookie, so we switch to using gorilla/securecookie directly.
-
ale authored
-
ale authored
There is no point in using the complex gorilla/sessions machinery for storing a simple long-term cookie, just use gorilla/securecookie directly.
-
- 15 Dec, 2019 3 commits