diff --git a/census/website/src/services/authentication/CritterAuthenticationProvider.tsx b/census/website/src/services/authentication/CritterAuthenticationProvider.tsx index f64a9d7..c8bd6de 100644 --- a/census/website/src/services/authentication/CritterAuthenticationProvider.tsx +++ b/census/website/src/services/authentication/CritterAuthenticationProvider.tsx @@ -76,6 +76,7 @@ export const CritterAuthenticationProvider: FC = ({ children set({ status: AuthenticationStatus.Authenticating }); const params = new URLSearchParams(); if (from) params.set('from', from); + params.set('origin', window.location.origin); window.location.href = `${apiBaseUrl}/auth/signin?${params.toString()}`; }, signOut: async () => { diff --git a/infrastructure/pulumi/resources/PostgreSQLFlexibleServer.ts b/infrastructure/pulumi/resources/PostgreSQLFlexibleServer.ts index 82c77fe..d704abd 100644 --- a/infrastructure/pulumi/resources/PostgreSQLFlexibleServer.ts +++ b/infrastructure/pulumi/resources/PostgreSQLFlexibleServer.ts @@ -40,7 +40,7 @@ export class PostgreSQLFlexibleServer extends ComponentResource { resourceGroupName: args.resourceGroupName, administratorLogin: username.result, administratorLoginPassword: password.result, - version: '12', + version: '16', storage: { storageSizeGB: 32 },