save local changes

This commit is contained in:
Jun-te Kim 2025-12-08 09:28:01 +00:00
parent 36385f0013
commit 825fb4cbfe
2 changed files with 4 additions and 5 deletions

View file

@ -130,4 +130,7 @@ In our terraform stack, we have a module called `s3_presignable_bucket` which co
We will generate a pre-signed url and then make a post request to that endpoint to store that data to s3. Part of that process is the creation of an AWS IAM role which contains
the permission set to access the bucket, `rerofit-plan-inputs-<stage>`. The name of this IAM role is `s3_presign_role_<stage>` and for our NextJS application, as it's hosted outside of AWS (for the moment), we need to generate a set of access credentials to give the application access to this bucket. The access key and secret key are automatically generated and stored in AWS secrets manager under `dev/presign_frontend/access_key` and `dev/presign_frontend/secret_key` and need to be set in the environment for the pre-sign api to store csv data to aws.
#
Quick wins:
- [] Sign in butotn in microsoft disappear!
- [] Frequently asked questions page

View file

@ -1,7 +1,6 @@
import { getServerSession } from "next-auth/next";
import { AuthOptions } from "./api/auth/[...nextauth]/authOptions";
import GoogleSignInButton from "./components/signin/GoogleSignInButton";
import MicrosoftSignInButton from "./components/signin/MicrosoftSignInButton";
import EmailSignInButton from "./components/signin/EmailSignInButton";
import { redirect } from "next/navigation";
import Image from "next/image";
@ -51,9 +50,6 @@ export default async function Home(props: {
<EmailSignInButton error={error} />
</div>
<div className="text-md"> Sign in with a Social Account</div>
<div className="mb-2">
<MicrosoftSignInButton />
</div>
<GoogleSignInButton />
</div>
</section>