welcome: init group memberships for first create (#115)
* rename createAdminAccount to createAccount
* welcome: call memberships init on first user
* auth: add http endpoints to allowed return addresses
* memberships: make init user member of groups as well
---------
Co-authored-by: Giorgi Lekveishvili <lekva@gl-mbp-m1-max.local>
diff --git a/core/installer/values-tmpl/core-auth.cue b/core/installer/values-tmpl/core-auth.cue
index 0e9f26f..391f127 100644
--- a/core/installer/values-tmpl/core-auth.cue
+++ b/core/installer/values-tmpl/core-auth.cue
@@ -230,6 +230,8 @@
allowed_return_urls: [
"https://*.\(global.domain)/",
"https://*.\(global.privateDomain)",
+ "http://*.\(global.domain)/", // TODO(gio): configure ingress nginx private to autoredirect
+ "http://*.\(global.privateDomain)",
]
methods: {
password: {