Authentication for the Web.
39 matches across 6 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | packages/core/src/lib/utils/cookie.ts | 1 | import type { |
| LOW | packages/core/src/lib/actions/callback/handle-login.ts | 261 | // with another user account then we can go ahead and link the accounts safely. |
| LOW | packages/core/src/lib/actions/callback/handle-login.ts | 281 | // better practice to require the user to sign in *then* link accounts to be sure |
| LOW | packages/next-auth/src/react.tsx | 461 | React.useEffect(() => { |
| LOW | apps/examples/qwik/qwik.env.d.ts | 1 | // This file can be used to add references for global types like `vite/client`. |
| LOW | apps/examples/nextjs-pages/auth.ts | 1 | import NextAuth from "next-auth" |
| LOW | apps/examples/nextjs-pages/auth.ts | 21 | // import Foursquare from "next-auth/providers/foursquare" |
| LOW | apps/examples/nextjs-pages/auth.ts | 41 | // import Osu from "next-auth/providers/osu" |
| LOW | apps/examples/nextjs-pages/auth.ts | 61 | // import Zitadel from "next-auth/providers/zitadel" |
| LOW | apps/examples/nextjs-pages/auth.ts | 81 | // Cognito, |
| LOW | apps/examples/nextjs-pages/auth.ts | 101 | // LinkedIn, |
| LOW | apps/examples/nextjs-pages/auth.ts | 121 | // Trakt, |
| LOW | …mples/nextjs-pages/app/api/auth/[...nextauth]/route.ts | 1 | // import { handlers } from "../../../auth" |
| LOW | apps/dev/qwik/qwik.env.d.ts | 1 | // This file can be used to add references for global types like `vite/client`. |
| LOW | apps/dev/nextjs/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | apps/dev/nextjs/auth.ts | 1 | import NextAuth from "next-auth" |
| LOW | apps/dev/nextjs/auth.ts | 21 | // export const { handlers, auth, signIn, signOut, unstable_update } = NextAuth( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/core/src/providers/credentials.ts | 103 | * See the [callbacks documentation](/reference/core#authconfig#callbacks) for more information on how to interact with |
| MEDIUM | packages/frameworks-sveltekit/src/lib/index.ts | 54 | * Remember to set the `AUTH_SECRET` [environment variable](https://kit.svelte.dev/docs/modules#$env-dynamic-private). T |
| LOW | packages/frameworks-express/src/index.ts | 30 | * Don't forget to set the `AUTH_SECRET` environment variable. This should be a minimum of 32 characters, random string. |
| MEDIUM | apps/examples/qwik/src/entry.preview.tsx | 7 | * Feel free to modify this file, but don't remove it! |
| MEDIUM | apps/dev/qwik/src/entry.preview.tsx | 7 | * Feel free to modify this file, but don't remove it! |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/typedoc-nextauth.js | 23 | function injectNextraCalloutImport(app) { |
| LOW | packages/core/src/lib/utils/webauthn-utils.ts | 176 | export async function getAuthenticationResponse( |
| LOW | packages/core/src/lib/utils/webauthn-utils.ts | 482 | export function assertInternalOptionsWebAuthn( |
| LOW | …meworks-express/test/http-api-adapters/request.test.ts | 7 | function expectMatchingRequestHeaders(req: ExpressRequest, request: Request) { |
| LOW | …meworks-express/test/http-api-adapters/request.test.ts | 13 | async function expectMatchingJsonRequestBody( |
| LOW | …meworks-express/test/http-api-adapters/request.test.ts | 21 | async function expectMatchingUrlEncodedRequestBody( |
| LOW | …eworks-express/test/http-api-adapters/response.test.ts | 6 | function expectMatchingResponseHeaders( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/core/test/webauthn-utils.test.ts | 195 | email: "user@example.com", |
| LOW | packages/core/test/actions/session.test.ts | 40 | email: "test@test.com", |
| LOW | packages/core/test/actions/session.test.ts | 45 | email: "test@test.com", |
| LOW | packages/core/test/actions/session.test.ts | 134 | email: "test@test.com", |
| LOW | packages/core/test/actions/session.test.ts | 160 | email: "test@test.com", |
| LOW | packages/core/test/actions/session.test.ts | 233 | email: "test@test.com", |
| LOW | packages/frameworks-express/test/session.test.ts | 7 | name: "John Doe", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/frameworks-solid-start/src/index.ts | 76 | * ## Creating the API handler |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/next-auth/src/react.tsx | 470 | // more robust to have each window/tab fetch it's own copy of the |