We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea6361 commit 21a19d7Copy full SHA for 21a19d7
1 file changed
server/utils/atproto/oauth.ts
@@ -89,8 +89,7 @@ export async function getNodeOAuthClient(): Promise<NodeOAuthClient> {
89
export async function loadJWKs(): Promise<Keyset | undefined> {
90
// If we ever need to add multiple JWKs to rotate keys we will need to add a new one
91
// under a new variable and update here
92
- // @ts-expect-error Not sure how to strongly type these or if there's a better way to get this env
93
- const jwkOne = import.meta.env.NUXT_OAUTH_JWK_ONE
+ const jwkOne = useRuntimeConfig().oauthJwkOne
94
if (!jwkOne) return undefined
95
96
// For multiple keys if we need to rotate
0 commit comments