mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-13 01:05:37 +02:00
🐜 fix: Fix dynamodb errors when trying to authenticate (#208)
## Description This fixes an issue where `openauthjs` throws timeout errors while attempting to access DynamoDB > I am so glad this was not a major issue 😅 ## Related Issues [OpenAuth Error TypeError: fetch failed while accessing DynamoDB on AWS #5543 ](https://github.com/sst/sst/issues/5543) [Error TypeError: fetch failed while accessing DynamoDB on AWS #220](https://github.com/toolbeam/openauth/issues/220) ## Type of Change - [x] Bug fix (non-breaking change) - [ ] New feature (non-breaking change) - [ ] Breaking change (fix or feature that changes existing functionality) - [ ] Documentation update - [ ] Other (please describe): ## Checklist - [x] I have updated relevant documentation - [ ] My code follows the project's coding style - [ ] My changes generate no new warnings/errors ## Screenshots/Demo 
This commit is contained in:
6
bun.lock
6
bun.lock
@@ -83,6 +83,7 @@
|
|||||||
"@aws-sdk/client-sesv2": "^3.753.0",
|
"@aws-sdk/client-sesv2": "^3.753.0",
|
||||||
"@instantdb/admin": "^0.17.7",
|
"@instantdb/admin": "^0.17.7",
|
||||||
"@neondatabase/serverless": "^0.10.4",
|
"@neondatabase/serverless": "^0.10.4",
|
||||||
|
"@openauthjs/openauth": "0.4.3",
|
||||||
"@openauthjs/openevent": "^0.0.27",
|
"@openauthjs/openevent": "^0.0.27",
|
||||||
"@polar-sh/sdk": "^0.26.1",
|
"@polar-sh/sdk": "^0.26.1",
|
||||||
"drizzle-orm": "^0.39.3",
|
"drizzle-orm": "^0.39.3",
|
||||||
@@ -105,7 +106,7 @@
|
|||||||
"packages/functions": {
|
"packages/functions": {
|
||||||
"name": "@nestri/functions",
|
"name": "@nestri/functions",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@openauthjs/openauth": "^0.3.9",
|
"@openauthjs/openauth": "0.4.3",
|
||||||
"hono": "^4.6.15",
|
"hono": "^4.6.15",
|
||||||
"hono-openapi": "^0.3.1",
|
"hono-openapi": "^0.3.1",
|
||||||
"partysocket": "1.0.3",
|
"partysocket": "1.0.3",
|
||||||
@@ -197,6 +198,7 @@
|
|||||||
"@macaron-css/solid": "^1.5.3",
|
"@macaron-css/solid": "^1.5.3",
|
||||||
"@modular-forms/solid": "^0.25.1",
|
"@modular-forms/solid": "^0.25.1",
|
||||||
"@nestri/core": "*",
|
"@nestri/core": "*",
|
||||||
|
"@openauthjs/openauth": "0.4.3",
|
||||||
"@solid-primitives/storage": "^4.3.1",
|
"@solid-primitives/storage": "^4.3.1",
|
||||||
"@solidjs/router": "^0.15.3",
|
"@solidjs/router": "^0.15.3",
|
||||||
"modern-normalize": "^3.0.1",
|
"modern-normalize": "^3.0.1",
|
||||||
@@ -781,7 +783,7 @@
|
|||||||
|
|
||||||
"@oddbird/popover-polyfill": ["@oddbird/popover-polyfill@0.4.3", "", {}, "sha512-kBS0ZAwH8kZqFl0mV89KPK4cLYl2ZoKSfYngK4dz1eLAhKzTK0yu4LrvLdMeM7JhjWK6GxBtiY+cl1s6vR2pUg=="],
|
"@oddbird/popover-polyfill": ["@oddbird/popover-polyfill@0.4.3", "", {}, "sha512-kBS0ZAwH8kZqFl0mV89KPK4cLYl2ZoKSfYngK4dz1eLAhKzTK0yu4LrvLdMeM7JhjWK6GxBtiY+cl1s6vR2pUg=="],
|
||||||
|
|
||||||
"@openauthjs/openauth": ["@openauthjs/openauth@0.3.9", "", { "dependencies": { "@standard-schema/spec": "1.0.0-beta.3", "aws4fetch": "1.0.20", "jose": "5.9.6" }, "peerDependencies": { "arctic": "^2.2.2", "hono": "^4.0.0" } }, "sha512-a8UGz9iLQnB8TmY4bMDkCvMEWLHPEtDlXGnYNoFbEOxO13cCPu1pSS0DcUvKzHBAhXWnAMU01sSDMNZQr+aKWg=="],
|
"@openauthjs/openauth": ["@openauthjs/openauth@0.4.3", "", { "dependencies": { "@standard-schema/spec": "1.0.0-beta.3", "aws4fetch": "1.0.20", "jose": "5.9.6" }, "peerDependencies": { "arctic": "^2.2.2", "hono": "^4.0.0" } }, "sha512-RlnjqvHzqcbFVymEwhlUEuac4utA5h4nhSK/i2szZuQmxTIqbGUxZ+nM+avM+VV4Ing+/ZaNLKILoXS3yrkOOw=="],
|
||||||
|
|
||||||
"@openauthjs/openevent": ["@openauthjs/openevent@0.0.27", "", { "dependencies": { "@standard-schema/spec": "1.0.0-beta.3", "aws4fetch": "1.0.20", "jose": "5.9.6", "ulid": "2.3.0" }, "peerDependencies": { "drizzle-orm": "^0.x", "mysql2": "^3.x", "postgres": "^3.x" }, "optionalPeers": ["drizzle-orm", "mysql2", "postgres"] }, "sha512-Peyl8hWGPmwTPC9gp3ufjEQ55mu64sSa9suBdW7SfHFBMnvxwD+XIoErneXyAH/ydomRghlh6t4N9mCCHjaF4g=="],
|
"@openauthjs/openevent": ["@openauthjs/openevent@0.0.27", "", { "dependencies": { "@standard-schema/spec": "1.0.0-beta.3", "aws4fetch": "1.0.20", "jose": "5.9.6", "ulid": "2.3.0" }, "peerDependencies": { "drizzle-orm": "^0.x", "mysql2": "^3.x", "postgres": "^3.x" }, "optionalPeers": ["drizzle-orm", "mysql2", "postgres"] }, "sha512-Peyl8hWGPmwTPC9gp3ufjEQ55mu64sSa9suBdW7SfHFBMnvxwD+XIoErneXyAH/ydomRghlh6t4N9mCCHjaF4g=="],
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
"@aws-sdk/client-sesv2": "^3.753.0",
|
"@aws-sdk/client-sesv2": "^3.753.0",
|
||||||
"@instantdb/admin": "^0.17.7",
|
"@instantdb/admin": "^0.17.7",
|
||||||
"@neondatabase/serverless": "^0.10.4",
|
"@neondatabase/serverless": "^0.10.4",
|
||||||
|
"@openauthjs/openauth": "0.4.3",
|
||||||
"@openauthjs/openevent": "^0.0.27",
|
"@openauthjs/openevent": "^0.0.27",
|
||||||
"@polar-sh/sdk": "^0.26.1",
|
"@polar-sh/sdk": "^0.26.1",
|
||||||
"drizzle-orm": "^0.39.3",
|
"drizzle-orm": "^0.39.3",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@openauthjs/openauth": "^0.3.9",
|
"@openauthjs/openauth": "0.4.3",
|
||||||
"hono": "^4.6.15",
|
"hono": "^4.6.15",
|
||||||
"hono-openapi": "^0.3.1",
|
"hono-openapi": "^0.3.1",
|
||||||
"partysocket": "1.0.3"
|
"partysocket": "1.0.3"
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
"@macaron-css/solid": "^1.5.3",
|
"@macaron-css/solid": "^1.5.3",
|
||||||
"@modular-forms/solid": "^0.25.1",
|
"@modular-forms/solid": "^0.25.1",
|
||||||
"@nestri/core": "*",
|
"@nestri/core": "*",
|
||||||
|
"@openauthjs/openauth": "0.4.3",
|
||||||
"@solid-primitives/storage": "^4.3.1",
|
"@solid-primitives/storage": "^4.3.1",
|
||||||
"@solidjs/router": "^0.15.3",
|
"@solidjs/router": "^0.15.3",
|
||||||
"modern-normalize": "^3.0.1",
|
"modern-normalize": "^3.0.1",
|
||||||
|
|||||||
@@ -87,10 +87,10 @@ export const App: Component = () => {
|
|||||||
<Route
|
<Route
|
||||||
path="*"
|
path="*"
|
||||||
component={(props) => (
|
component={(props) => (
|
||||||
// <AuthProvider>
|
<AuthProvider>
|
||||||
// {props.children}
|
{props.children}
|
||||||
props.children
|
</AuthProvider>
|
||||||
// </AuthProvider>
|
// props.children
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Route path="new" component={CreateTeamComponent} />
|
<Route path="new" component={CreateTeamComponent} />
|
||||||
|
|||||||
@@ -259,6 +259,7 @@ const InputRadioContainer = styled("div", {
|
|||||||
base: {
|
base: {
|
||||||
...inputStyles,
|
...inputStyles,
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
userSelect: "none",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
height: "auto",
|
height: "auto",
|
||||||
position: "relative",
|
position: "relative",
|
||||||
|
|||||||
Reference in New Issue
Block a user