Commit Graph

18 Commits

Author SHA1 Message Date
Alex Wright 035551629c Fixed option/nullable fields 2020-03-01 19:36:10 +01:00
Alex Wright 3606cdf4ee Had to make fields Optional if they're Nullable..
Makes sense. Gonna need another type for pre-commited User objects
though.
2020-03-01 19:31:16 +01:00
Alex Wright 6cb7b5affa Adding diesel dep.
Need somewhere to store sessions and tokens.
2020-03-01 16:57:53 +01:00
Alex Wright dd21d419bd Using Flash for login error message. 2020-02-29 20:56:50 +01:00
Alex Wright 9eaf121454 Adding route for login and login_form
The EmptyContext is probably dumb or at least goofy.. but I can't work
out a better way of making render() happy right now.
2020-02-29 20:23:50 +01:00
Alex Wright 5e2975ab3b Adding Tera for templates 2020-02-29 19:45:32 +01:00
Alex Wright 998e3de74b Add LDAP group memberships to returned data 2020-02-29 16:49:24 +01:00
Alex Wright f32681d95d Switched to Rocket 2020-02-29 16:48:07 +01:00
Alex Wright e0d1eb8897 Switch to 2018 edition use syntax 2020-02-23 20:37:30 +01:00
Alex Wright b6ad7bcdd2 Add OIDC well-known URI.
Only has a static URI for the keys endpoint. Need to work out how to
build URIs for routes.
2020-02-23 20:25:03 +01:00
Alex Wright 10fbaaddb8 Little clean up 2020-02-23 20:18:00 +01:00
Alex Wright 29df4f4b64 Fix to handle bad or unreadable .pem keys 2020-02-23 20:08:55 +01:00
Alex Wright 4bd0de2e8d Add logging lib 2020-02-23 20:04:07 +01:00
Alex Wright e6f9148865 Use biscuit's JWK structures to format /get_keys.
New method to load a .pem and a loop over current dir for any .pem
2020-02-23 19:42:32 +01:00
Alex Wright 467a449457 Add env based config for LDAP addr 2019-08-11 12:37:54 +02:00
Alex Wright ca45203392 Adding mockup of a JWKS keys output for OAuth2 2019-08-11 12:34:55 +02:00
Alex Wright c3cb0b9cd5 Clean up error reporting a little 2019-08-03 20:29:10 +02:00
Alex Wright 9f8c47712a Initial commit 2019-08-03 20:15:52 +02:00