Skip to content

Commit 0f1212a

Browse files
authored
admin dashboard login api (#184)
* auth_login_post stub * add cognito to cdk * get cognito values from env * login mvp
1 parent 48dde84 commit 0f1212a

12 files changed

Lines changed: 355 additions & 650 deletions

File tree

app/backend/.env.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
TABLE_NAME=
2-
IMAGE_BUCKET_NAME=
2+
COGNITO_USER_POOL_ID=
3+
COGNITO_CLIENT_ID=

app/backend/Cargo.lock

Lines changed: 107 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/backend/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ edition = "2024"
77
anyhow = "1.0.102"
88
async-trait = "0.1"
99
aws-config = { version = "1.8.12", features = ["behavior-version-latest"] }
10+
aws-sdk-cognitoidentityprovider = "1.110.0"
1011
aws-sdk-dynamodb = "1.101.0"
1112
axum = "0.8.8"
1213
axum-extra = { version = "0.12", features = ["cookie", "query"] }
14+
dotenvy = "0.15.7"
1315
http = "1"
1416
openapi = { path = "./openapi" }
1517
tokio = { version = "1.48.0", features = ["full"] }

0 commit comments

Comments
 (0)