8000 Durables by N2D4 · Pull Request #385 · stack-auth/stack-auth · GitHub
[go: up one dir, main page]

Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"editor.tabSize": 2,
"cSpell.words": [
"backlinks",
"BIGSERIAL",
"Cdfc",
"cjsx",
"clsx",
Expand All @@ -22,6 +23,7 @@
"EDNS",
"EMESSAGE",
"Falsey",
"fkey",
"frontends",
"geoip",
"hookform",
Expand Down Expand Up @@ -49,6 +51,7 @@
"otlp",
"pageleave",
"pageview",
"pglite",
"pkcco",
"PKCE",
"pooler",
Expand All @@ -63,6 +66,8 @@
"RPID",
"simplewebauthn",
"spoofable",
"Sqlizable",
"sqlize",
"stackauth",
"stackframe",
"supabase",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Prisma } from '@prisma/client';
import { decodeBase64OrBase64Url } from '@stackframe/stack-shared/dist/utils/bytes';
import { getEnvVariable } from '@stackframe/stack-shared/dist/utils/env';
import { StackAssertionError, captureError, throwErr } from '@stackframe/stack-shared/dist/utils/errors';
import { sha512 } from '@stackframe/stack-shared/dist/utils/hashes';
import { sha512ToHex } from '@stackframe/stack-shared/dist/utils/hashes';
import { getPerAudienceSecret, getPrivateJwk, getPublicJwkSet } from '@stackframe/stack-shared/dist/utils/jwt';
import { deindent } from '@stackframe/stack-shared/dist/utils/strings';
import { generateUuid } from '@stackframe/stack-shared/dist/utils/uuids';
Expand Down Expand Up @@ -186,7 +186,7 @@ export async function createOidcProvider(options: { id: string, baseUrl: string
ttl: {},
cookies: {
keys: [
await sha512(`oidc-idp-cookie-encryption-key:${getEnvVariable("STACK_SERVER_SECRET")}`),
await sha512ToHex(`oidc-idp-cookie-encryption-key:${getEnvVariable("STACK_SERVER_SECRET")}`),
],
},
jwks: privateJwks,
Expand Down
6 changes: 6 additions & 0 deletions packages/durables/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
"extends": [
"../../eslint-configs/defaults.js",
],
"ignorePatterns": ['/*', '!/src', '!/examples'],
};
4 changes: 4 additions & 0 deletions packages/durables/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# we need to not ignore the next-env.d.ts file because it is not automatically recreated (we never run `next build` in this repo directly because Next is just a peer dependency)
!next-env.d.ts

quetzal-translations
Loading
Loading
0