fefeat: supabase add secrets and change to just ios native auth
This commit is contained in:
parent
67e81d39f3
commit
5c6b4f18eb
5 changed files with 134 additions and 205 deletions
|
|
@ -70,12 +70,7 @@ in
|
|||
supabase-env-generate = {
|
||||
description = "Generate Supabase per-container env files from SOPS secrets";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
# python+cryptography is used to sign the Apple OAuth client-secret JWT
|
||||
# (ES256) inside env-generate.sh.
|
||||
path = [
|
||||
pkgs.jq
|
||||
(pkgs.python3.withPackages (ps: [ ps.cryptography ]))
|
||||
];
|
||||
path = [ pkgs.jq ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
|
|
@ -226,7 +221,7 @@ in
|
|||
GOTRUE_EXTERNAL_GOOGLE_ENABLED = "true";
|
||||
GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI = "https://supabase.cloonar.com/auth/v1/callback";
|
||||
GOTRUE_EXTERNAL_APPLE_ENABLED = "true";
|
||||
GOTRUE_EXTERNAL_APPLE_REDIRECT_URI = "https://supabase.cloonar.com/auth/v1/callback";
|
||||
GOTRUE_EXTERNAL_APPLE_CLIENT_ID = "io.fueltide.workout";
|
||||
};
|
||||
environmentFiles = [ "/run/supabase/auth.env" ];
|
||||
extraOptions = supabaseNet ++ [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue