nixos/middleman: Add simple auth

This commit is contained in:
Jack O'Sullivan 2022-06-12 01:00:26 +01:00
parent 0b8b6fccc8
commit 26d2608a66
2 changed files with 6 additions and 0 deletions

View File

@ -70,6 +70,7 @@
default_method = "google_oauth";
names = {
google_oauth = "Google account";
simple = "Username / password";
};
};
cookie = {
@ -87,6 +88,11 @@
];
};
providers = {
simple = {
groups = {
admin = [ "dev" ];
};
};
google_oauth = {
client_id = "545475967061-cag4g1qf0pk33g3pdbom4v69562vboc8.apps.googleusercontent.com";
redirect_url = "https://sso.${lib.my.pubDomain}/login";

Binary file not shown.