{
  "id": "task_libraries:authentication/react",
  "path": "/exapedia/react-authentication-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "React authentication libraries",
  "answer": [
    {
      "t": "text",
      "text": "React authentication libraries sign users in and give components access to the current session. Most connect the app to a hosted identity provider or a server-side auth framework through hooks, providers, and prebuilt sign-in components. These libraries let apps protect pages and API calls for signed-in users."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "React authentication libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#better-auth",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nextauth-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#clerk-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#auth-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#msal-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-oauth-google",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-oidc-context",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#workos-inc-authkit-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#better-auth",
          "label": [
            {
              "t": "text",
              "text": "Better Auth"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F133"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Custom OIDC issuer",
            "Bundled sign-in form"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#better-auth",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nextauth-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#clerk-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#auth-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#msal-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-oauth-google",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-oidc-context",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#workos-inc-authkit-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "better-auth",
          "name": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/better-auth/better-auth"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/better-auth"
            },
            {
              "label": "Docs",
              "href": "https://www.better-auth.com/docs"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F139"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.better-auth.com/docs",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/better-auth-ui/better-auth-ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export function signInEmailOptions<TAuthClient extends AuthClient>(\n  authClient: TAuthClient\n) {\n  const mutationKey = authMutationKeys.signIn.email\n\n  const mutationFn = (params: SignInEmailParams<TAuthClient>) =>\n    authClient.signIn.email({\n      ...params,\n      fetchOptions: { ...params.fetchOptions, throw: true }\n    })\n\n  return {\n    mutationKey,\n    mutationFn,\n    meta: {\n      awaits: [authQueryKeys.session]\n    }\n  } as MutationOptions<\n    Awaited<ReturnType<typeof mutationFn>>,\n    BetterFetchError,\n    Parameters<typeof mutationFn>[0]\n  >\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/better-auth-ui/better-auth-ui/blob/5767ba5568cf4798b2a222652bfefbf8d57f0152/packages/core/src/mutations/sign-in-email-mutation.ts#L21-L43",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=better-auth%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { createAuthClient } from \"better-auth/react\";\nconst authClient = createAuthClient({ baseURL: \"http://localhost:3000\" });\nconst { data: session, error } = await authClient.getSession();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.better-auth.com/docs/concepts/client",
                  "label": [
                    {
                      "t": "text",
                      "text": "client.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "nextauth-js",
          "name": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/nextauthjs/next-auth"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/next-auth"
            },
            {
              "label": "Docs",
              "href": "https://next-auth.js.org/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://next-auth.js.org/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F151"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/shadcn-ui/taxonomy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F168"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "async function onSubmit(data: FormData) {\n  setIsLoading(true)\n\n  const signInResult = await signIn(\"email\", {\n    email: data.email.toLowerCase(),\n    redirect: false,\n    callbackUrl: searchParams?.get(\"from\") || \"/dashboard\",\n  })\n\n  setIsLoading(false)\n\n  if (!signInResult?.ok) {\n    return toast({\n      title: \"Something went wrong.\",\n      description: \"Your sign in request failed. Please try again.\",\n      variant: \"destructive\",\n    })\n  }\n\n  return toast({\n    title: \"Check your email\",\n    description: \"We sent you a login link. Be sure to check your spam too.\",\n  })\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/shadcn-ui/taxonomy/blob/298a8857c7128a0d121e7f699dfd729f23b3966d/components/user-auth-form.tsx#L34-L57",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20next-auth%20for%20sign-in%20forms%2C%20protected%20API%20tokens%2C%20consent%20recovery%20and%20conditional%20authentication%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F151"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { SessionProvider, useSession } from \"next-auth/react\";\nfunction Session() {\n  const { data: session, status } = useSession();\n  return <pre>{status}</pre>;\n}\nexport default function App() {\n  return <SessionProvider><Session /></SessionProvider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://next-auth.js.org/getting-started/client",
                  "label": [
                    {
                      "t": "text",
                      "text": "example.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F156"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "clerk-react",
          "name": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/clerk/javascript"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@clerk/react"
            },
            {
              "label": "Docs",
              "href": "https://clerk.com/docs/reference/react/overview"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://clerk.com/docs/reference/react/overview",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { ClerkProvider, SignInButton } from \"@clerk/react\";\nexport default function App() {\n  return <ClerkProvider><SignInButton /></ClerkProvider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/clerk/clerk-docs/blob/main/docs/getting-started/quickstart.react.mdx",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.tsx"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20%40clerk/react%20for%20sign-in%20forms%2C%20protected%20API%20tokens%2C%20consent%20recovery%20and%20conditional%20authentication%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F175"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "auth-react",
          "name": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/auth0/auth0-react"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@auth0/auth0-react"
            },
            {
              "label": "Docs",
              "href": "https://auth0.github.io/auth0-react/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F59"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://auth0.github.io/auth0-react/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/auth0-samples/auth0-react-samples",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "export const ExternalApiComponent = () => {\n  const { apiOrigin, audience } = getConfig();\n\n  const [state, setState] = useState({\n    showResult: false,\n    apiMessage: \"\",\n    error: null,\n  });\n\n  const { getAccessTokenSilently, loginWithPopup, getAccessTokenWithPopup } =\n    useAuth0();\n\n  const handleConsent = async () => {\n    try {\n      await getAccessTokenWithPopup();\n      setState({\n        ...state,\n        error: null,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n\n    await callApi();\n  };\n\n  const handleLoginAgain = async () => {\n    try {\n      await loginWithPopup();\n      setState({\n        ...state,\n        error: null,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n\n    await callApi();\n  };\n\n  const callApi = async () => {\n    try {\n      const token = await getAccessTokenSilently();\n\n      const response = await fetch(`${apiOrigin}/api/external`, {\n        headers: {\n          Authorization: `Bearer ${token}`,\n        },\n      });\n\n      const responseData = await response.json();\n\n      setState({\n        ...state,\n        showResult: true,\n        apiMessage: responseData,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n  };\n\n  const handle = (e, fn) => {\n    e.preventDefault();\n    fn();\n  };\n\n  return (\n    <>\n      <div className=\"mb-5\">\n        {state.error === \"consent_required\" && (\n          <Alert variant=\"warning\">\n            You need to{\" \"}\n            <a\n              href=\"#/\"\n              className=\"alert-link\"\n              onClick={(e) => handle(e, handleConsent)}\n            >\n              consent to get access to users api\n            </a>\n          </Alert>\n        )}\n\n        {state.error === \"login_required\" && (\n          <Alert variant=\"warning\">\n            You need to{\" \"}\n            <a\n              href=\"#/\"\n              className=\"alert-link\"\n              onClick={(e) => handle(e, handleLoginAgain)}\n            >\n              log in again\n            </a>\n          </Alert>\n        )}\n\n        <h1>External API</h1>\n        <p className=\"lead\">\n          Ping an external API by clicking the button below.\n        </p>\n\n        <p>\n          This will call a local API on port 3001 that would have been started\n          if you run <code>npm run dev</code>. An access token is sent as part\n          of the request's `Authorization` header and the API will validate it\n          using the API's audience value.\n        </p>\n\n        {!audience && (\n          <Alert variant=\"warning\">\n            <p>\n              You can't call the API at the moment because your application does\n              not have any configuration for <code>audience</code>, or it is\n              using the default value of{\" \"}\n              <code>&#123;yourApiIdentifier&#125;</code>. You might get this\n              default value if you used the \"Download Sample\" feature of{\" \"}\n              <a href=\"https://auth0.com/docs/quickstart/spa/react\">\n                the quickstart guide\n              </a>\n              , but have not set an API up in your Auth0 Tenant. You can find\n              out more information on{\" \"}\n              <a href=\"https://auth0.com/docs/api\">setting up APIs</a> in the\n              Auth0 Docs.\n            </p>\n            <p>\n              The audience is the identifier of the API that you want to call\n              (see{\" \"}\n              <a href=\"https://auth0.com/docs/get-started/dashboard/tenant-settings#api-authorization-settings\">\n                API Authorization Settings\n              </a>{\" \"}\n              for more info).\n            </p>\n\n            <p>\n              In this sample, you can configure the audience in a couple of\n              ways:\n            </p>\n            <ul>\n              <li>\n                by exposing the <code>AUTH0_AUDIENCE</code> environment variable to the application\n              </li>\n              <li>\n                by setting <code>AUTH0_AUDIENCE</code> in your <code>.env.local</code> file\n                (see <code>.env.example</code> for reference)\n              </li>\n            </ul>\n            <p>\n              Once you have configured the value for <code>AUTH0_AUDIENCE</code>,\n              please restart the app and try to use the \"Ping API\" button below.\n            </p>\n          </Alert>\n        )}\n\n        <Button\n          variant=\"primary\"\n          className=\"mt-5\"\n          onClick={callApi}\n          disabled={!audience}\n        >\n          Ping API\n        </Button>\n      </div>\n\n      <div className=\"result-block-container\">\n        {state.showResult && (\n          <div className=\"result-block\" data-testid=\"api-result\">\n            <h6 className=\"muted\">Result</h6>\n            <Highlight>\n              <span>{JSON.stringify(state.apiMessage, null, 2)}</span>\n            </Highlight>\n          </div>\n        )}\n      </div>\n    </>\n  );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/auth0-samples/auth0-react-samples/blob/b58007102474b14fd245e1b857cb95c3b676fb0a/Sample-01/src/views/ExternalApi.jsx#L9-L193",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20%40auth0/auth0-react%20for%20sign-in%20forms%2C%20protected%20API%20tokens%2C%20consent%20recovery%20and%20conditional%20authentication%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { Auth0Provider, useAuth0 } from \"@auth0/auth0-react\";\nfunction Login() {\n  const { loginWithRedirect } = useAuth0();\n  return <button onClick={() => loginWithRedirect()}>Log in</button>;\n}\nexport default function App() {\n  return <Auth0Provider domain=\"YOUR_AUTH0_DOMAIN\" clientId=\"YOUR_AUTH0_CLIENT_ID\"\n    authorizationParams={{ redirect_uri: window.location.origin }}><Login /></Auth0Provider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/auth0/auth0-react/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "msal-react",
          "name": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/AzureAD/microsoft-authentication-library-for-js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@azure/msal-react"
            },
            {
              "label": "Docs",
              "href": "https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-react"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F85"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-react",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F218"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "export const NavigationBar = () => {\n    const { instance } = useMsal();\n\n    let activeAccount;\n\n    if (instance) {\n        activeAccount = instance.getActiveAccount();\n    }\n\n    const handleLoginPopup = () => {\n        /**\n         * When using popup and silent APIs, we recommend setting the redirectUri to a blank page or a page\n         * that does not implement MSAL. Keep in mind that all redirect routes must be registered with the application\n         * For more information, please follow this link: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/login-user.md#redirecturi-considerations\n         */\n        instance\n            .loginPopup({\n                ...loginRequest,\n                redirectUri: '/redirect',\n            })\n            .catch((error) => console.log(error));\n    };\n\n    const handleLoginRedirect = () => {\n        instance.loginRedirect(loginRequest).catch((error) => console.log(error));\n    };\n\n    const handleLogoutPopup = () => {\n        instance\n            .logoutPopup({\n                mainWindowRedirectUri: '/', // redirects the top level app after logout\n                account: instance.getActiveAccount(),\n            })\n            .catch((error) => console.log(error));\n    };\n\n    const handleLogoutRedirect = () => {\n        instance.logoutRedirect().catch((error) => console.log(error));\n    };\n\n    /**\n     * Most applications will need to conditionally render certain components based on whether a user is signed in or not.\n     * msal-react provides 2 easy ways to do this. AuthenticatedTemplate and UnauthenticatedTemplate components will\n     * only render their children if a user is authenticated or unauthenticated, respectively.\n     */\n    return (\n        <>\n            <Navbar bg=\"primary\" variant=\"dark\" className=\"navbarStyle\">\n                <a className=\"navbar-brand\" href=\"/\">\n                    Microsoft identity platform\n                </a>\n                <AuthenticatedTemplate>\n                    <div className=\"collapse navbar-collapse justify-content-end\">\n                        <DropdownButton\n                            variant=\"warning\"\n                            drop=\"start\"\n                            title={activeAccount ? activeAccount.name : 'Unknown'}\n                        >\n                            <Dropdown.Item as=\"button\" onClick={handleLogoutPopup}>\n                                Sign out using Popup\n                            </Dropdown.Item>\n                            <Dropdown.Item as=\"button\" onClick={handleLogoutRedirect}>\n                                Sign out using Redirect\n                            </Dropdown.Item>\n                        </DropdownButton>\n                    </div>\n                </AuthenticatedTemplate>\n                <UnauthenticatedTemplate>\n                    <div className=\"collapse navbar-collapse justify-content-end\">\n                        <DropdownButton\n                            variant=\"secondary\"\n                            className=\"justify-content-end ml-auto\"\n                            title=\"Sign In\"\n                            drop=\"start\"\n                        >\n                            <Dropdown.Item as=\"button\" onClick={handleLoginPopup}>\n                                Sign in using Popup\n                            </Dropdown.Item>\n                            <Dropdown.Item as=\"button\" onClick={handleLoginRedirect}>\n                                Sign in using Redirect\n                            </Dropdown.Item>\n                        </DropdownButton>\n                    </div>\n                </UnauthenticatedTemplate>\n            </Navbar>\n        </>\n    );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial/blob/381714b6576fa987ecf5ea664472f9eee6a5b866/1-Authentication/1-sign-in/SPA/src/components/NavigationBar.jsx#L5-L92",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20%40azure/msal-react%20for%20sign-in%20forms%2C%20protected%20API%20tokens%2C%20consent%20recovery%20and%20conditional%20authentication%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { PublicClientApplication } from \"@azure/msal-browser\";\nimport { MsalProvider, useMsal } from \"@azure/msal-react\";\nconst pca = new PublicClientApplication({ auth: { clientId: \"client-id\" } });\nfunction Login() {\n  const { instance } = useMsal();\n  return <button onClick={() => instance.loginPopup()}>Login</button>;\n}\nexport default function App() { return <MsalProvider instance={pca}><Login /></MsalProvider>; }\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-react/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "getting-started.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F207"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-oauth-google",
          "name": [
            {
              "t": "fact",
              "fact": "F220"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/MomenSherif/react-oauth"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@react-oauth/google"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/MomenSherif/react-oauth",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F220"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { GoogleOAuthProvider, GoogleLogin } from '@react-oauth/google';\n\nfunction App() {\n  return (\n    <GoogleOAuthProvider clientId=\"<your_client_id>\">\n      <GoogleLogin\n        onSuccess={credentialResponse => {\n          console.log(credentialResponse);\n        }}\n        onError={() => {\n          console.log('Login Failed');\n        }}\n      />\n    </GoogleOAuthProvider>\n  );\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/MomenSherif/react-oauth/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40react-oauth/google%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F220"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F225"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-oidc-context",
          "name": [
            {
              "t": "fact",
              "fact": "F235"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/authts/react-oidc-context"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-oidc-context"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F242"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/authts/react-oidc-context",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F235"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { AuthProvider, useAuth } from \"react-oidc-context\";\nfunction Login() {\n  const auth = useAuth();\n  return <button onClick={() => void auth.signinRedirect()}>Log in</button>;\n}\nexport default function App() {\n  return <AuthProvider authority=\"https://issuer.example.com\" client_id=\"client-id\"\n    redirect_uri={window.location.origin}><Login /></AuthProvider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/authts/react-oidc-context/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=react-oidc-context%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F235"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "workos-inc-authkit-react",
          "name": [
            {
              "t": "fact",
              "fact": "F250"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/workos/authkit-react"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@workos-inc/authkit-react"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F257"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/workos/authkit-react",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F250"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { AuthKitProvider, useAuth } from \"@workos-inc/authkit-react\";\nfunction Login() {\n  const { signIn } = useAuth();\n  return <button onClick={() => signIn()}>Sign in</button>;\n}\nexport default function App() {\n  return <AuthKitProvider clientId=\"client_01ABC123DEF456\"><Login /></AuthKitProvider>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/workos/authkit-react/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40workos-inc/authkit-react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F250"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F255"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which React authentication library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#nextauth-js",
          "label": [
            {
              "t": "text",
              "text": "NextAuth.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits Next.js apps that configure sign-in providers in their own authentication route. "
        },
        {
          "t": "link",
          "href": "#clerk-react",
          "label": [
            {
              "t": "text",
              "text": "Clerk"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps that want prebuilt sign-in components on a hosted Clerk application. "
        },
        {
          "t": "link",
          "href": "#msal-react",
          "label": [
            {
              "t": "text",
              "text": "MSAL React"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps that sign in Microsoft work, school, or personal accounts."
        }
      ]
    },
    {
      "q": "What is Better Auth?",
      "a": [
        {
          "t": "link",
          "href": "#better-auth",
          "label": [
            {
              "t": "text",
              "text": "Better Auth"
            }
          ]
        },
        {
          "t": "text",
          "text": " is an authentication framework for TypeScript."
        }
      ]
    },
    {
      "q": "What is NextAuth.js?",
      "a": [
        {
          "t": "link",
          "href": "#nextauth-js",
          "label": [
            {
              "t": "text",
              "text": "NextAuth.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " connects React session controls to authentication configured in a Next.js application. Its callbacks choose which extra session fields reach the browser."
        }
      ]
    },
    {
      "q": "How do I sign users in with Auth0 React?",
      "a": [
        {
          "t": "link",
          "href": "#auth-react",
          "label": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ]
        },
        {
          "t": "text",
          "text": " exposes user state, login, and logout through a React hook. The app's callback, logout, and web origin URLs must be registered with the identity provider."
        }
      ]
    },
    {
      "q": "What is Clerk for React?",
      "a": [
        {
          "t": "link",
          "href": "#clerk-react",
          "label": [
            {
              "t": "text",
              "text": "Clerk"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides authentication components and user-management hooks for React. It requires a Clerk application with a publishable key."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, next-auth",
      "display": "NextAuth.js",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, next-auth",
      "display": "35.5M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, next-auth",
      "display": "ISC",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, next-auth",
      "display": "4.24.15",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, next-auth",
      "display": "v4.24.15",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, next-auth",
      "display": "28.4K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Signs users in, next-auth",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Signs users out, next-auth",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Reads session state, next-auth",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Acquires API tokens, next-auth",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, next-auth",
      "display": "npm install next-auth",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, next-auth",
      "display": "Connects React session controls to authentication configured in a Next.js application.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, next-auth",
      "display": "Configures sign-in providers in Next.js",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, next-auth",
      "display": "Configure the providers in the application's own Next.js authentication route.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, next-auth",
      "display": "Controls the client session payload",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, next-auth",
      "display": "Choose which extra session fields reach the browser.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, next-auth",
      "display": "Credentials users are not persisted",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, next-auth",
      "display": "Store account records through the application's existing authentication system.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, next-auth",
      "display": "Provider tokens need explicit exposure",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, next-auth",
      "display": "Add provider access tokens through JWT and session callbacks.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, next-auth",
      "display": "import { useSession, signIn, signOut } from \"next-auth/react\"\n\nexport default function Component() {\n  const { data: session } = useSession()\n  if (session) {\n    return (\n      <>\n        Signed in as {session.user.email} <br />\n        <button onClick={() => signOut()}>Sign out</button>\n      </>\n    )\n  }\n  return (\n    <>\n      Not signed in <br />\n      <button onClick={() => signIn()}>Sign in</button>\n    </>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, next-auth",
      "display": "export function UserAuthForm({ className, ...props }: UserAuthFormProps) {\n  const {\n    register,\n    handleSubmit,\n    formState: { errors },\n  } = useForm<FormData>({\n    resolver: zodResolver(userAuthSchema),\n  })\n  const [isLoading, setIsLoading] = React.useState<boolean>(false)\n  const [isGitHubLoading, setIsGitHubLoading] = React.useState<boolean>(false)\n  const searchParams = useSearchParams()\n\n  async function onSubmit(data: FormData) {\n    setIsLoading(true)\n\n    const signInResult = await signIn(\"email\", {\n      email: data.email.toLowerCase(),\n      redirect: false,\n      callbackUrl: searchParams?.get(\"from\") || \"/dashboard\",\n    })\n\n    setIsLoading(false)\n\n    if (!signInResult?.ok) {\n      return toast({\n        title: \"Something went wrong.\",\n        description: \"Your sign in request failed. Please try again.\",\n        variant: \"destructive\",\n      })\n    }\n\n    return toast({\n      title: \"Check your email\",\n      description: \"We sent you a login link. Be sure to check your spam too.\",\n    })\n  }\n\n  return (\n    <div className={cn(\"grid gap-6\", className)} {...props}>\n      <form onSubmit={handleSubmit(onSubmit)}>\n        <div className=\"grid gap-2\">\n          <div className=\"grid gap-1\">\n            <Label className=\"sr-only\" htmlFor=\"email\">\n              Email\n            </Label>\n            <Input\n              id=\"email\"\n              placeholder=\"name@example.com\"\n              type=\"email\"\n              autoCapitalize=\"none\"\n              autoComplete=\"email\"\n              autoCorrect=\"off\"\n              disabled={isLoading || isGitHubLoading}\n              {...register(\"email\")}\n            />\n            {errors?.email && (\n              <p className=\"px-1 text-xs text-red-600\">\n                {errors.email.message}\n              </p>\n            )}\n          </div>\n          <button className={cn(buttonVariants())} disabled={isLoading}>\n            {isLoading && (\n              <Icons.spinner className=\"mr-2 h-4 w-4 animate-spin\" />\n            )}\n            Sign In with Email\n          </button>\n        </div>\n      </form>\n      <div className=\"relative\">\n        <div className=\"absolute inset-0 flex items-center\">\n          <span className=\"w-full border-t\" />\n        </div>\n        <div className=\"relative flex justify-center text-xs uppercase\">\n          <span className=\"bg-background px-2 text-muted-foreground\">\n            Or continue with\n          </span>\n        </div>\n      </div>\n      <button\n        type=\"button\"\n        className={cn(buttonVariants({ variant: \"outline\" }))}\n        onClick={() => {\n          setIsGitHubLoading(true)\n          signIn(\"github\")\n        }}\n        disabled={isLoading || isGitHubLoading}\n      >\n        {isGitHubLoading ? (\n          <Icons.spinner className=\"mr-2 h-4 w-4 animate-spin\" />\n        ) : (\n          <Icons.gitHub className=\"mr-2 h-4 w-4\" />\n        )}{\" \"}\n        Github\n      </button>\n    </div>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, next-auth",
      "display": "user-auth-form.tsx · UserAuthForm()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, next-auth",
      "display": "shadcn-ui/taxonomy",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, shadcn-ui/taxonomy",
      "display": "19.3K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, shadcn-ui/taxonomy",
      "display": "Apr 2026",
      "asOf": "2026-04-20"
    },
    "F27": {
      "label": "Library name, @clerk/react",
      "display": "Clerk React",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, @clerk/react",
      "display": "16.4M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, @clerk/react",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, @clerk/react",
      "display": "6.18.8",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, @clerk/react",
      "display": "v6.18.8",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, @clerk/react",
      "display": "1.8K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Signs users in, @clerk/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Signs users out, @clerk/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Reads session state, @clerk/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Acquires API tokens, @clerk/react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, @clerk/react",
      "display": "npm install @clerk/react",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, @clerk/react",
      "display": "Provides authentication components and user-management hooks for React applications.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, @clerk/react",
      "display": "Provides ready-made sign-in controls",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, @clerk/react",
      "display": "Use prebuilt sign-in and sign-up components for the application.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, @clerk/react",
      "display": "Retrieves session or custom tokens",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, @clerk/react",
      "display": "Use getToken for the current session or a custom JWT template.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, @clerk/react",
      "display": "Requires a Clerk application",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, @clerk/react",
      "display": "Create a Clerk application and configure its publishable key.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, @clerk/react",
      "display": "Authentication state can reload",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, @clerk/react",
      "display": "Check isLoaded before depending on the current authentication state.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, @clerk/react",
      "display": "import { SignInButton, SignUpButton } from '@clerk/react';\n\nexport default function Home() {\n  return (\n    <main>\n      <SignInButton\n        mode='modal'\n        forceRedirectUrl='/protected'\n        signUpForceRedirectUrl='/protected'\n      >\n        Sign in button (force)\n      </SignInButton>\n\n      <SignInButton\n        mode='modal'\n        oauthFlow='popup'\n        forceRedirectUrl='/protected'\n        signUpForceRedirectUrl='/protected'\n      >\n        Sign in button (force, popup)\n      </SignInButton>\n\n      <SignInButton\n        mode='modal'\n        fallbackRedirectUrl='/protected'\n      >\n        Sign in button (fallback)\n      </SignInButton>\n\n      <SignUpButton\n        mode='modal'\n        forceRedirectUrl='/protected'\n        signInForceRedirectUrl='/protected'\n      >\n        Sign up button (force)\n      </SignUpButton>\n\n      <SignUpButton\n        mode='modal'\n        fallbackRedirectUrl='/protected'\n      >\n        Sign up button (fallback)\n      </SignUpButton>\n    </main>\n  );\n}\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Library name, @auth0/auth0-react",
      "display": "Auth0 React",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Monthly downloads, @auth0/auth0-react",
      "display": "8.5M",
      "asOf": "2026-11-15"
    },
    "F50": {
      "label": "License, @auth0/auth0-react",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Package release, @auth0/auth0-react",
      "display": "2.30.0",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Undated package release, @auth0/auth0-react",
      "display": "v2.30.0",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Repository stars, @auth0/auth0-react",
      "display": "992",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Signs users in, @auth0/auth0-react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Signs users out, @auth0/auth0-react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Reads session state, @auth0/auth0-react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Acquires API tokens, @auth0/auth0-react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Install, @auth0/auth0-react",
      "display": "npm install @auth0/auth0-react",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "What it does, @auth0/auth0-react",
      "display": "Connects React single-page applications to Auth0 authentication and authorization.",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "strengths lead, @auth0/auth0-react",
      "display": "Handles protocol and token renewal",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "strengths, @auth0/auth0-react",
      "display": "Delegate grant details, token renewal, storage, and caching to the SDK.",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "strengths lead, @auth0/auth0-react",
      "display": "Exposes authentication through React hooks",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths, @auth0/auth0-react",
      "display": "Read user state and invoke login or logout through useAuth0.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "limitations lead, @auth0/auth0-react",
      "display": "Redirect URLs must be registered",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "limitations, @auth0/auth0-react",
      "display": "Register callback, logout, and web origins for the deployed app.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "limitations lead, @auth0/auth0-react",
      "display": "Custom routers need redirect handling",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations, @auth0/auth0-react",
      "display": "Supply onRedirectCallback when using a custom client router.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Quickstart, @auth0/auth0-react",
      "display": "// src/App.js\nimport React from 'react';\nimport { useAuth0 } from '@auth0/auth0-react';\n\nfunction App() {\n  const { isLoading, isAuthenticated, error, user, loginWithRedirect, logout } =\n    useAuth0();\n\n  if (isLoading) {\n    return <div>Loading...</div>;\n  }\n  if (error) {\n    return <div>Oops... {error.message}</div>;\n  }\n\n  if (isAuthenticated) {\n    return (\n      <div>\n        Hello {user.name}{' '}\n        <button onClick={() => logout({ logoutParams: { returnTo: window.location.origin } })}>\n          Log out\n        </button>\n      </div>\n    );\n  } else {\n    return <button onClick={() => loginWithRedirect()}>Log in</button>;\n  }\n}\n\nexport default App;\n",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project function, @auth0/auth0-react",
      "display": "export const ExternalApiComponent = () => {\n  const { apiOrigin, audience } = getConfig();\n\n  const [state, setState] = useState({\n    showResult: false,\n    apiMessage: \"\",\n    error: null,\n  });\n\n  const { getAccessTokenSilently, loginWithPopup, getAccessTokenWithPopup } =\n    useAuth0();\n\n  const handleConsent = async () => {\n    try {\n      await getAccessTokenWithPopup();\n      setState({\n        ...state,\n        error: null,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n\n    await callApi();\n  };\n\n  const handleLoginAgain = async () => {\n    try {\n      await loginWithPopup();\n      setState({\n        ...state,\n        error: null,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n\n    await callApi();\n  };\n\n  const callApi = async () => {\n    try {\n      const token = await getAccessTokenSilently();\n\n      const response = await fetch(`${apiOrigin}/api/external`, {\n        headers: {\n          Authorization: `Bearer ${token}`,\n        },\n      });\n\n      const responseData = await response.json();\n\n      setState({\n        ...state,\n        showResult: true,\n        apiMessage: responseData,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n  };\n\n  const handle = (e, fn) => {\n    e.preventDefault();\n    fn();\n  };\n\n  return (\n    <>\n      <div className=\"mb-5\">\n        {state.error === \"consent_required\" && (\n          <Alert variant=\"warning\">\n            You need to{\" \"}\n            <a\n              href=\"#/\"\n              className=\"alert-link\"\n              onClick={(e) => handle(e, handleConsent)}\n            >\n              consent to get access to users api\n            </a>\n          </Alert>\n        )}\n\n        {state.error === \"login_required\" && (\n          <Alert variant=\"warning\">\n            You need to{\" \"}\n            <a\n              href=\"#/\"\n              className=\"alert-link\"\n              onClick={(e) => handle(e, handleLoginAgain)}\n            >\n              log in again\n            </a>\n          </Alert>\n        )}\n\n        <h1>External API</h1>\n        <p className=\"lead\">\n          Ping an external API by clicking the button below.\n        </p>\n\n        <p>\n          This will call a local API on port 3001 that would have been started\n          if you run <code>npm run dev</code>. An access token is sent as part\n          of the request's `Authorization` header and the API will validate it\n          using the API's audience value.\n        </p>\n\n        {!audience && (\n          <Alert variant=\"warning\">\n            <p>\n              You can't call the API at the moment because your application does\n              not have any configuration for <code>audience</code>, or it is\n              using the default value of{\" \"}\n              <code>&#123;yourApiIdentifier&#125;</code>. You might get this\n              default value if you used the \"Download Sample\" feature of{\" \"}\n              <a href=\"https://auth0.com/docs/quickstart/spa/react\">\n                the quickstart guide\n              </a>\n              , but have not set an API up in your Auth0 Tenant. You can find\n              out more information on{\" \"}\n              <a href=\"https://auth0.com/docs/api\">setting up APIs</a> in the\n              Auth0 Docs.\n            </p>\n            <p>\n              The audience is the identifier of the API that you want to call\n              (see{\" \"}\n              <a href=\"https://auth0.com/docs/get-started/dashboard/tenant-settings#api-authorization-settings\">\n                API Authorization Settings\n              </a>{\" \"}\n              for more info).\n            </p>\n\n            <p>\n              In this sample, you can configure the audience in a couple of\n              ways:\n            </p>\n            <ul>\n              <li>\n                by exposing the <code>AUTH0_AUDIENCE</code> environment variable to the application\n              </li>\n              <li>\n                by setting <code>AUTH0_AUDIENCE</code> in your <code>.env.local</code> file\n                (see <code>.env.example</code> for reference)\n              </li>\n            </ul>\n            <p>\n              Once you have configured the value for <code>AUTH0_AUDIENCE</code>,\n              please restart the app and try to use the \"Ping API\" button below.\n            </p>\n          </Alert>\n        )}\n\n        <Button\n          variant=\"primary\"\n          className=\"mt-5\"\n          onClick={callApi}\n          disabled={!audience}\n        >\n          Ping API\n        </Button>\n      </div>\n\n      <div className=\"result-block-container\">\n        {state.showResult && (\n          <div className=\"result-block\" data-testid=\"api-result\">\n            <h6 className=\"muted\">Result</h6>\n            <Highlight>\n              <span>{JSON.stringify(state.apiMessage, null, 2)}</span>\n            </Highlight>\n          </div>\n        )}\n      </div>\n    </>\n  );\n};\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function reference, @auth0/auth0-react",
      "display": "ExternalApi.jsx · ExternalApiComponent()",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project repository, @auth0/auth0-react",
      "display": "auth0-samples/auth0-react-samples",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project stars, auth0-samples/auth0-react-samples",
      "display": "950",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project push date, auth0-samples/auth0-react-samples",
      "display": "Aug 2026",
      "asOf": "2026-08-11"
    },
    "F74": {
      "label": "Library name, @azure/msal-react",
      "display": "MSAL React",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Monthly downloads, @azure/msal-react",
      "display": "6.8M",
      "asOf": "2026-11-15"
    },
    "F76": {
      "label": "License, @azure/msal-react",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Package release, @azure/msal-react",
      "display": "5.8.2",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Undated package release, @azure/msal-react",
      "display": "v5.8.2",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Repository stars, @azure/msal-react",
      "display": "4.2K",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Signs users in, @azure/msal-react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Signs users out, @azure/msal-react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Reads session state, @azure/msal-react",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Acquires API tokens, @azure/msal-react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, @azure/msal-react",
      "display": "npm install @azure/msal-react @azure/msal-browser",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, @azure/msal-react",
      "display": "Integrates Microsoft authentication and token acquisition into React single-page applications.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, @azure/msal-react",
      "display": "Supports Microsoft account sign-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, @azure/msal-react",
      "display": "Authenticate work, school, or personal Microsoft accounts.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, @azure/msal-react",
      "display": "Acquires tokens for Microsoft APIs",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, @azure/msal-react",
      "display": "Request tokens to call services such as Microsoft Graph.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, @azure/msal-react",
      "display": "Needs a registered Microsoft app",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, @azure/msal-react",
      "display": "Register a client ID and the app’s redirect routes.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, @azure/msal-react",
      "display": "Hook attempts authentication once",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, @azure/msal-react",
      "display": "Call its login or acquireToken method for subsequent attempts.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, @azure/msal-react",
      "display": "import React from \"react\";\nimport { createRoot } from \"react-dom/client\";\n\nimport { MsalProvider } from \"@azure/msal-react\";\nimport { Configuration,  PublicClientApplication } from \"@azure/msal-browser\";\n\nimport App from \"./app.jsx\";\n\n// MSAL configuration\nconst configuration: Configuration = {\n    auth: {\n        clientId: \"client-id\"\n    }\n};\n\nconst pca = new PublicClientApplication(configuration);\n\n// Component\nconst AppProvider = () => (\n    <MsalProvider instance={pca}>\n        <App />\n    </MsalProvider>\n);\n\n// React 18+ rendering\nconst root = createRoot(document.getElementById(\"root\"));\nroot.render(<AppProvider />);\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function, @azure/msal-react",
      "display": "export const NavigationBar = () => {\n    const { instance } = useMsal();\n\n    let activeAccount;\n\n    if (instance) {\n        activeAccount = instance.getActiveAccount();\n    }\n\n    const handleLoginPopup = () => {\n        /**\n         * When using popup and silent APIs, we recommend setting the redirectUri to a blank page or a page\n         * that does not implement MSAL. Keep in mind that all redirect routes must be registered with the application\n         * For more information, please follow this link: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/login-user.md#redirecturi-considerations\n         */\n        instance\n            .loginPopup({\n                ...loginRequest,\n                redirectUri: '/redirect',\n            })\n            .catch((error) => console.log(error));\n    };\n\n    const handleLoginRedirect = () => {\n        instance.loginRedirect(loginRequest).catch((error) => console.log(error));\n    };\n\n    const handleLogoutPopup = () => {\n        instance\n            .logoutPopup({\n                mainWindowRedirectUri: '/', // redirects the top level app after logout\n                account: instance.getActiveAccount(),\n            })\n            .catch((error) => console.log(error));\n    };\n\n    const handleLogoutRedirect = () => {\n        instance.logoutRedirect().catch((error) => console.log(error));\n    };\n\n    /**\n     * Most applications will need to conditionally render certain components based on whether a user is signed in or not.\n     * msal-react provides 2 easy ways to do this. AuthenticatedTemplate and UnauthenticatedTemplate components will\n     * only render their children if a user is authenticated or unauthenticated, respectively.\n     */\n    return (\n        <>\n            <Navbar bg=\"primary\" variant=\"dark\" className=\"navbarStyle\">\n                <a className=\"navbar-brand\" href=\"/\">\n                    Microsoft identity platform\n                </a>\n                <AuthenticatedTemplate>\n                    <div className=\"collapse navbar-collapse justify-content-end\">\n                        <DropdownButton\n                            variant=\"warning\"\n                            drop=\"start\"\n                            title={activeAccount ? activeAccount.name : 'Unknown'}\n                        >\n                            <Dropdown.Item as=\"button\" onClick={handleLogoutPopup}>\n                                Sign out using Popup\n                            </Dropdown.Item>\n                            <Dropdown.Item as=\"button\" onClick={handleLogoutRedirect}>\n                                Sign out using Redirect\n                            </Dropdown.Item>\n                        </DropdownButton>\n                    </div>\n                </AuthenticatedTemplate>\n                <UnauthenticatedTemplate>\n                    <div className=\"collapse navbar-collapse justify-content-end\">\n                        <DropdownButton\n                            variant=\"secondary\"\n                            className=\"justify-content-end ml-auto\"\n                            title=\"Sign In\"\n                            drop=\"start\"\n                        >\n                            <Dropdown.Item as=\"button\" onClick={handleLoginPopup}>\n                                Sign in using Popup\n                            </Dropdown.Item>\n                            <Dropdown.Item as=\"button\" onClick={handleLoginRedirect}>\n                                Sign in using Redirect\n                            </Dropdown.Item>\n                        </DropdownButton>\n                    </div>\n                </UnauthenticatedTemplate>\n            </Navbar>\n        </>\n    );\n};\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project function reference, @azure/msal-react",
      "display": "NavigationBar.jsx · NavigationBar()",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project repository, @azure/msal-react",
      "display": "Azure-Samples/ms-identity-javascript-react-tutorial",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project stars, Azure-Samples/ms-identity-javascript-react-tutorial",
      "display": "310",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project push date, Azure-Samples/ms-identity-javascript-react-tutorial",
      "display": "May 2024",
      "asOf": "2024-05-03"
    },
    "F100": {
      "label": "Developer need",
      "display": "Authentication configured in Next.js",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose next-auth",
      "display": "identity providers configured in your authentication route",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "authentication configured in Next.js",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Prebuilt sign-in and sign-up controls",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose @clerk/react",
      "display": "ready-made authentication components",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "prebuilt sign-in and sign-up controls",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Managed identity token renewal",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose @auth0/auth0-react",
      "display": "grant handling, renewal, and token caching",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "managed identity token renewal",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider @azure/msal-react",
      "display": "Microsoft Graph token acquisition is central",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Microsoft account and Graph access",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose @azure/msal-react",
      "display": "tokens for services such as Microsoft Graph",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "microsoft account and Graph access",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "When to consider @auth0/auth0-react",
      "display": "the application uses that hosted identity service",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Page introduction",
      "display": "React authentication libraries let application developers add sign-in and identity checks.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which React authentication library should I choose?",
      "display": "NextAuth configures providers within the application authentication route.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which React authentication library should I choose?",
      "display": "Clerk provides prebuilt authentication components.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which React authentication library should I choose?",
      "display": "Auth0 React handles token renewal and caching.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which React authentication library should I choose?",
      "display": "MSAL supports tokens for Microsoft Graph.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does React authentication state authorize backend API requests?",
      "display": "NextAuth’s default client session omits OAuth tokens.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does React authentication state authorize backend API requests?",
      "display": "Auth0 provides access-token acquisition for protected API calls.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Is NextAuth latest the same as the newest Auth.js examples?",
      "display": "The observed next-auth latest package is stable v4.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Is NextAuth latest the same as the newest Auth.js examples?",
      "display": "This comparison uses the own v4 React client module.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Are Credentials-provider users stored by NextAuth?",
      "display": "Users authenticated with the Credentials provider are not persisted in the database.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How can NextAuth expose a provider access token to the browser?",
      "display": "Persist the OAuth token in the JWT and explicitly expose it through the session callback.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Which Clerk React package should a new application install?",
      "display": "The current React integration is @clerk/react.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Which Clerk React package should a new application install?",
      "display": "Its prerequisites include an existing Clerk application.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can Clerk authentication state become temporarily unloaded again?",
      "display": "isLoaded can revert to false while authentication state is updating.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: What extra Auth0 React setup is needed for a client router?",
      "display": "A custom router needs an onRedirectCallback handler.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: What extra Auth0 React setup is needed for a client router?",
      "display": "Application callback, logout, and web origins must be configured.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Does MSAL React need msal-browser?",
      "display": "MSAL React uses msal-browser as a required peer dependency.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Will useMsalAuthentication keep retrying automatically?",
      "display": "The hook attempts automatic login or token acquisition once; later attempts are the application’s responsibility.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "Library name, better-auth",
      "display": "Better Auth",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Monthly downloads, better-auth",
      "display": "72.7M",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "License, better-auth",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release, better-auth",
      "display": "1.7.26",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Package release date, better-auth",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Install, better-auth",
      "display": "npm i better-auth",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Quickstart, better-auth",
      "display": "import { createAuthClient } from \"better-auth/react\";\nconst authClient = createAuthClient({ baseURL: \"http://localhost:3000\" });\nconst { data: session, error } = await authClient.getSession();\n",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Official description, better-auth",
      "display": "Provides an authentication framework for TypeScript.",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Quickstart source file, better-auth",
      "display": "docs/content/docs/concepts/client.mdx",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Repository stars, better-auth",
      "display": "30.8K",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Custom OIDC issuer, better-auth",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Bundled sign-in form, better-auth",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Backend and SDK role, better-auth",
      "display": "Full-stack authentication framework with a React client; developer runs and configures the auth backend.",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Setup prerequisites, better-auth",
      "display": "[\"Browser module with running configured Better Auth server at the supplied URL; complete server setup/database/routes are prerequisites,not created by this client snippet. null session is valid for a signed-out visitor.\"]",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Issuer and UI boundary, better-auth",
      "display": "{\"Custom OIDC issuer\": \"Generic OAuth is a server/client plugin of the selected Better Auth family. Configure a discovery URL and compatible issuer; this is not an unconfigured arbitrary third-party frontend login.\", \"Bundled sign-in form\": \"Current React entrypoint exposes a headless client and session hooks,not a bundled login form. Application UI/community integration packages are separate.\"}",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project function, better-auth",
      "display": "export function signInEmailOptions<TAuthClient extends AuthClient>(\n  authClient: TAuthClient\n) {\n  const mutationKey = authMutationKeys.signIn.email\n\n  const mutationFn = (params: SignInEmailParams<TAuthClient>) =>\n    authClient.signIn.email({\n      ...params,\n      fetchOptions: { ...params.fetchOptions, throw: true }\n    })\n\n  return {\n    mutationKey,\n    mutationFn,\n    meta: {\n      awaits: [authQueryKeys.session]\n    }\n  } as MutationOptions<\n    Awaited<ReturnType<typeof mutationFn>>,\n    BetterFetchError,\n    Parameters<typeof mutationFn>[0]\n  >\n}\n",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project source file, better-auth",
      "display": "packages/core/src/mutations/sign-in-email-mutation.ts",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Project full_name, better-auth",
      "display": "better-auth-ui/better-auth-ui",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Project stargazers_count, better-auth",
      "display": "1.7K",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Library name, next-auth",
      "display": "NextAuth.js",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Monthly downloads, next-auth",
      "display": "36.3M",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "License, next-auth",
      "display": "ISC",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Package release, next-auth",
      "display": "4.24.15",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Package release date, next-auth",
      "display": "Jul 2026",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Install, next-auth",
      "display": "npm install next-auth",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Quickstart, next-auth",
      "display": "import { SessionProvider, useSession } from \"next-auth/react\";\nfunction Session() {\n  const { data: session, status } = useSession();\n  return <pre>{status}</pre>;\n}\nexport default function App() {\n  return <SessionProvider><Session /></SessionProvider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Repository stars, next-auth",
      "display": "28.4K",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Custom OIDC issuer, next-auth",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Bundled sign-in form, next-auth",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Backend and SDK role, next-auth",
      "display": "Next.js authentication backend with React session/actions client; stable selected version remains v4.",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Setup prerequisites, next-auth",
      "display": "[\"Disclosed minimal React session read after the official Next.js server auth route,provider,and backend have been configured. Installing the frontend alone does not create authentication. Stable v4 API; not v5beta.\"]",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Issuer and UI boundary, next-auth",
      "display": "{\"Custom OIDC issuer\": \"Server custom OAuth/OIDC configuration accepts issuer discovery and endpoints; its React client talks to the configured NextAuth backend.\", \"Bundled sign-in form\": \"Server-rendered built-in sign-in page is supplied by the NextAuth family. This does not mean an embeddable standalone React login widget.\"}",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Exact original example contract, next-auth",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole nested Taxonomy onSubmit passes provider email,lowercased email,redirect:false,and callbackUrl. Stable npm latest remains v4.24.15; current v4 signIn accepts these options for email/credentials providers. Original backend must configure the email provider,mail transport,database adapter,and permitted callback URL. Parent component imports from next-auth/react.\", \"used_return_shapes\": \"redirect:false returns the documented result with ok,error,status,and url; optional chaining handles undefined. This is the intact original callback,not a rewritten modern Auth.js v5 example.\"}",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Stable versus prerelease API, next-auth",
      "display": "Stable npm latest4.24.15; no v5beta imports or changed signIn return semantics substituted.",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project function, next-auth",
      "display": "async function onSubmit(data: FormData) {\n  setIsLoading(true)\n\n  const signInResult = await signIn(\"email\", {\n    email: data.email.toLowerCase(),\n    redirect: false,\n    callbackUrl: searchParams?.get(\"from\") || \"/dashboard\",\n  })\n\n  setIsLoading(false)\n\n  if (!signInResult?.ok) {\n    return toast({\n      title: \"Something went wrong.\",\n      description: \"Your sign in request failed. Please try again.\",\n      variant: \"destructive\",\n    })\n  }\n\n  return toast({\n    title: \"Check your email\",\n    description: \"We sent you a login link. Be sure to check your spam too.\",\n  })\n}\n",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project source file, next-auth",
      "display": "components/user-auth-form.tsx",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project full_name, next-auth",
      "display": "shadcn-ui/taxonomy",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project stargazers_count, next-auth",
      "display": "19.3K",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Library name, @clerk/react",
      "display": "Clerk",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Monthly downloads, @clerk/react",
      "display": "16.8M",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "License, @clerk/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release, @clerk/react",
      "display": "6.19.0",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package release date, @clerk/react",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Install, @clerk/react",
      "display": "npm install @clerk/react",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Quickstart, @clerk/react",
      "display": "import { ClerkProvider, SignInButton } from \"@clerk/react\";\nexport default function App() {\n  return <ClerkProvider><SignInButton /></ClerkProvider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Repository stars, @clerk/react",
      "display": "1.8K",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Custom OIDC issuer, @clerk/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Bundled sign-in form, @clerk/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Backend and SDK role, @clerk/react",
      "display": "Managed Clerk authentication frontend with prebuilt account UI and headless custom-flow hooks.",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Setup prerequisites, @clerk/react",
      "display": "[\"Existing Vite React18+ application with Node>=20.9,valid Clerk publishable key supplied through the documented VITE_CLERK_PUBLISHABLE_KEY setup,and configured Clerk application. Minimal component fragment rendered by the existing React root; keys are not read or created during research.\"]",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Issuer and UI boundary, @clerk/react",
      "display": "{\"Custom OIDC issuer\": \"React SDK targets a configured Clerk application/session API. Service-side enterprise federation does not turn its client into an arbitrary OIDC issuer client.\", \"Bundled sign-in form\": \"Native SignIn component renders authentication UI controlled by configured Clerk application settings.\"}",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "SDK generation, @clerk/react",
      "display": "Current namespace @clerk/react uses SignInFuture from useSignIn; older @clerk/clerk-react and @clerk/nextjs distribution counts remain separate audited family variants,not summed.",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Library name, @auth0/auth0-react",
      "display": "Auth0 React",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Monthly downloads, @auth0/auth0-react",
      "display": "8.9M",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "License, @auth0/auth0-react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release, @auth0/auth0-react",
      "display": "2.30.0",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Package release date, @auth0/auth0-react",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Install, @auth0/auth0-react",
      "display": "npm install @auth0/auth0-react",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Quickstart, @auth0/auth0-react",
      "display": "import { Auth0Provider, useAuth0 } from \"@auth0/auth0-react\";\nfunction Login() {\n  const { loginWithRedirect } = useAuth0();\n  return <button onClick={() => loginWithRedirect()}>Log in</button>;\n}\nexport default function App() {\n  return <Auth0Provider domain=\"YOUR_AUTH0_DOMAIN\" clientId=\"YOUR_AUTH0_CLIENT_ID\"\n    authorizationParams={{ redirect_uri: window.location.origin }}><Login /></Auth0Provider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Repository stars, @auth0/auth0-react",
      "display": "992",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Custom OIDC issuer, @auth0/auth0-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Bundled sign-in form, @auth0/auth0-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Backend and SDK role, @auth0/auth0-react",
      "display": "Auth0 tenant-bound React SPA integration with token,login,and session hooks.",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Setup prerequisites, @auth0/auth0-react",
      "display": "[\"Existing React SPA with Auth0 SPA registration,domain/clientID,and allowed callback/logout/web origins matching the app. Displayed placeholder values must be configured before running.\"]",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Issuer and UI boundary, @auth0/auth0-react",
      "display": "{\"Custom OIDC issuer\": \"Client targets an Auth0 tenant/domain. Connecting another IdP through Auth0 is service federation,not directly configuring this React client against arbitrary issuer.\", \"Bundled sign-in form\": \"Bounded React SDK API exposes provider,state,hooks,and login actions. Hosted Auth0 Universal Login is service UI rather than a login form shipped by this React package.\"}",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Exact original example contract, @auth0/auth0-react",
      "display": "{\"status\": \"verified\", \"arguments\": \"Original complete application component calls current useAuth0 hook plus no-argument token/login popup methods. Current2.30 default getAccessTokenSilently overload returns a token string,not the detailed object unless detailedResponse is requested. Audience/scope belong in the initialized provider authorizationParams under current2; the captured component does not pass obsolete top-level audience options. Configured API audience,registered callback/origin,and backend external API are required.\", \"used_return_shapes\": \"No-argument getAccessTokenSilently string goes into Authorization:Bearer. SDK Auth0 errors expose .error identifiers used by consent_required/login_required branches. Login/token popup promises are awaited; source still retries callApi after its catch,so a dismissed popup can lead to a subsequent token error. This is retained source behavior,not a claimed guaranteed recovery.\"}",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Project function, @auth0/auth0-react",
      "display": "export const ExternalApiComponent = () => {\n  const { apiOrigin, audience } = getConfig();\n\n  const [state, setState] = useState({\n    showResult: false,\n    apiMessage: \"\",\n    error: null,\n  });\n\n  const { getAccessTokenSilently, loginWithPopup, getAccessTokenWithPopup } =\n    useAuth0();\n\n  const handleConsent = async () => {\n    try {\n      await getAccessTokenWithPopup();\n      setState({\n        ...state,\n        error: null,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n\n    await callApi();\n  };\n\n  const handleLoginAgain = async () => {\n    try {\n      await loginWithPopup();\n      setState({\n        ...state,\n        error: null,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n\n    await callApi();\n  };\n\n  const callApi = async () => {\n    try {\n      const token = await getAccessTokenSilently();\n\n      const response = await fetch(`${apiOrigin}/api/external`, {\n        headers: {\n          Authorization: `Bearer ${token}`,\n        },\n      });\n\n      const responseData = await response.json();\n\n      setState({\n        ...state,\n        showResult: true,\n        apiMessage: responseData,\n      });\n    } catch (error) {\n      setState({\n        ...state,\n        error: error.error,\n      });\n    }\n  };\n\n  const handle = (e, fn) => {\n    e.preventDefault();\n    fn();\n  };\n\n  return (\n    <>\n      <div className=\"mb-5\">\n        {state.error === \"consent_required\" && (\n          <Alert variant=\"warning\">\n            You need to{\" \"}\n            <a\n              href=\"#/\"\n              className=\"alert-link\"\n              onClick={(e) => handle(e, handleConsent)}\n            >\n              consent to get access to users api\n            </a>\n          </Alert>\n        )}\n\n        {state.error === \"login_required\" && (\n          <Alert variant=\"warning\">\n            You need to{\" \"}\n            <a\n              href=\"#/\"\n              className=\"alert-link\"\n              onClick={(e) => handle(e, handleLoginAgain)}\n            >\n              log in again\n            </a>\n          </Alert>\n        )}\n\n        <h1>External API</h1>\n        <p className=\"lead\">\n          Ping an external API by clicking the button below.\n        </p>\n\n        <p>\n          This will call a local API on port 3001 that would have been started\n          if you run <code>npm run dev</code>. An access token is sent as part\n          of the request's `Authorization` header and the API will validate it\n          using the API's audience value.\n        </p>\n\n        {!audience && (\n          <Alert variant=\"warning\">\n            <p>\n              You can't call the API at the moment because your application does\n              not have any configuration for <code>audience</code>, or it is\n              using the default value of{\" \"}\n              <code>&#123;yourApiIdentifier&#125;</code>. You might get this\n              default value if you used the \"Download Sample\" feature of{\" \"}\n              <a href=\"https://auth0.com/docs/quickstart/spa/react\">\n                the quickstart guide\n              </a>\n              , but have not set an API up in your Auth0 Tenant. You can find\n              out more information on{\" \"}\n              <a href=\"https://auth0.com/docs/api\">setting up APIs</a> in the\n              Auth0 Docs.\n            </p>\n            <p>\n              The audience is the identifier of the API that you want to call\n              (see{\" \"}\n              <a href=\"https://auth0.com/docs/get-started/dashboard/tenant-settings#api-authorization-settings\">\n                API Authorization Settings\n              </a>{\" \"}\n              for more info).\n            </p>\n\n            <p>\n              In this sample, you can configure the audience in a couple of\n              ways:\n            </p>\n            <ul>\n              <li>\n                by exposing the <code>AUTH0_AUDIENCE</code> environment variable to the application\n              </li>\n              <li>\n                by setting <code>AUTH0_AUDIENCE</code> in your <code>.env.local</code> file\n                (see <code>.env.example</code> for reference)\n              </li>\n            </ul>\n            <p>\n              Once you have configured the value for <code>AUTH0_AUDIENCE</code>,\n              please restart the app and try to use the \"Ping API\" button below.\n            </p>\n          </Alert>\n        )}\n\n        <Button\n          variant=\"primary\"\n          className=\"mt-5\"\n          onClick={callApi}\n          disabled={!audience}\n        >\n          Ping API\n        </Button>\n      </div>\n\n      <div className=\"result-block-container\">\n        {state.showResult && (\n          <div className=\"result-block\" data-testid=\"api-result\">\n            <h6 className=\"muted\">Result</h6>\n            <Highlight>\n              <span>{JSON.stringify(state.apiMessage, null, 2)}</span>\n            </Highlight>\n          </div>\n        )}\n      </div>\n    </>\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Project source file, @auth0/auth0-react",
      "display": "Sample-01/src/views/ExternalApi.jsx",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project full_name, @auth0/auth0-react",
      "display": "auth0-samples/auth0-react-samples",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project stargazers_count, @auth0/auth0-react",
      "display": "950",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Library name, @azure/msal-react",
      "display": "MSAL React",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Monthly downloads, @azure/msal-react",
      "display": "7.1M",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "License, @azure/msal-react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Package release, @azure/msal-react",
      "display": "5.8.2",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Package release date, @azure/msal-react",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Install, @azure/msal-react",
      "display": "npm install @azure/msal-react @azure/msal-browser",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Quickstart, @azure/msal-react",
      "display": "import { PublicClientApplication } from \"@azure/msal-browser\";\nimport { MsalProvider, useMsal } from \"@azure/msal-react\";\nconst pca = new PublicClientApplication({ auth: { clientId: \"client-id\" } });\nfunction Login() {\n  const { instance } = useMsal();\n  return <button onClick={() => instance.loginPopup()}>Login</button>;\n}\nexport default function App() { return <MsalProvider instance={pca}><Login /></MsalProvider>; }\n",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Repository stars, @azure/msal-react",
      "display": "4.2K",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Custom OIDC issuer, @azure/msal-react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Bundled sign-in form, @azure/msal-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Backend and SDK role, @azure/msal-react",
      "display": "React context/templates around the MSAL browser peer,principally Microsoft identity SPA integration.",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Setup prerequisites, @azure/msal-react",
      "display": "[\"Existing React SPA with a real registered client ID and allowed redirect route. Current browser peer must be initialized via the configured provider before an interactive call. Browser popup policies and registered redirect handling are required; no account or service access performed.\"]",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Issuer and UI boundary, @azure/msal-react",
      "display": "{\"Custom OIDC issuer\": \"Browser peer protocolMode OIDC permits other compatible OIDC endpoints; AAD mode is the default. This is an explicit compatible-endpoint contract,not proof every issuer/extension interworks.\", \"Bundled sign-in form\": \"React templates conditionally render children or initiate browser login; the SDK does not ship the identity-provider password/sign-in form.\"}",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Exact original example contract, @azure/msal-react",
      "display": "{\"status\": \"verified\", \"arguments\": \"Original NavigationBar obtains the current browser peer instance via useMsal. Current5.8.2 React SDK peers on @azure/msal-browser^5.29.1. Native methods retain optional popup/redirect requests; original popup login supplies spread loginRequest plus redirectUri:/redirect. Logout popup supplies current AccountInfo|null and mainWindowRedirectUri:/. Configured MsalProvider,initialized browser client,registered SPA redirect routes,and current redirect-response handling remain host prerequisites. Actual same-commit loginRequest must contain accepted request fields; not every arbitrary request object qualifies. Actual immutable same-commit authConfig.js now checked: loginRequest contains scopes:[],so the native calls do not receive unknown spread request fields. Current SDK adds OIDC login scopes; no API access-token scopes are requested by this example.\", \"used_return_shapes\": \"getActiveAccount returns AccountInfo|null and account.name is optional so original fallback is preserved. Login/logout methods are promises and original .catch logs failures. AuthenticatedTemplate/UnauthenticatedTemplate are native React components; bootstrap navigation items are not counted as SDK calls. No claim that SDK itself hosts a sign-in form.\"}",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project function, @azure/msal-react",
      "display": "export const NavigationBar = () => {\n    const { instance } = useMsal();\n\n    let activeAccount;\n\n    if (instance) {\n        activeAccount = instance.getActiveAccount();\n    }\n\n    const handleLoginPopup = () => {\n        /**\n         * When using popup and silent APIs, we recommend setting the redirectUri to a blank page or a page\n         * that does not implement MSAL. Keep in mind that all redirect routes must be registered with the application\n         * For more information, please follow this link: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/login-user.md#redirecturi-considerations\n         */\n        instance\n            .loginPopup({\n                ...loginRequest,\n                redirectUri: '/redirect',\n            })\n            .catch((error) => console.log(error));\n    };\n\n    const handleLoginRedirect = () => {\n        instance.loginRedirect(loginRequest).catch((error) => console.log(error));\n    };\n\n    const handleLogoutPopup = () => {\n        instance\n            .logoutPopup({\n                mainWindowRedirectUri: '/', // redirects the top level app after logout\n                account: instance.getActiveAccount(),\n            })\n            .catch((error) => console.log(error));\n    };\n\n    const handleLogoutRedirect = () => {\n        instance.logoutRedirect().catch((error) => console.log(error));\n    };\n\n    /**\n     * Most applications will need to conditionally render certain components based on whether a user is signed in or not.\n     * msal-react provides 2 easy ways to do this. AuthenticatedTemplate and UnauthenticatedTemplate components will\n     * only render their children if a user is authenticated or unauthenticated, respectively.\n     */\n    return (\n        <>\n            <Navbar bg=\"primary\" variant=\"dark\" className=\"navbarStyle\">\n                <a className=\"navbar-brand\" href=\"/\">\n                    Microsoft identity platform\n                </a>\n                <AuthenticatedTemplate>\n                    <div className=\"collapse navbar-collapse justify-content-end\">\n                        <DropdownButton\n                            variant=\"warning\"\n                            drop=\"start\"\n                            title={activeAccount ? activeAccount.name : 'Unknown'}\n                        >\n                            <Dropdown.Item as=\"button\" onClick={handleLogoutPopup}>\n                                Sign out using Popup\n                            </Dropdown.Item>\n                            <Dropdown.Item as=\"button\" onClick={handleLogoutRedirect}>\n                                Sign out using Redirect\n                            </Dropdown.Item>\n                        </DropdownButton>\n                    </div>\n                </AuthenticatedTemplate>\n                <UnauthenticatedTemplate>\n                    <div className=\"collapse navbar-collapse justify-content-end\">\n                        <DropdownButton\n                            variant=\"secondary\"\n                            className=\"justify-content-end ml-auto\"\n                            title=\"Sign In\"\n                            drop=\"start\"\n                        >\n                            <Dropdown.Item as=\"button\" onClick={handleLoginPopup}>\n                                Sign in using Popup\n                            </Dropdown.Item>\n                            <Dropdown.Item as=\"button\" onClick={handleLoginRedirect}>\n                                Sign in using Redirect\n                            </Dropdown.Item>\n                        </DropdownButton>\n                    </div>\n                </UnauthenticatedTemplate>\n            </Navbar>\n        </>\n    );\n};\n",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project source file, @azure/msal-react",
      "display": "1-Authentication/1-sign-in/SPA/src/components/NavigationBar.jsx",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project full_name, @azure/msal-react",
      "display": "Azure-Samples/ms-identity-javascript-react-tutorial",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project stargazers_count, @azure/msal-react",
      "display": "310",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Library name, @react-oauth/google",
      "display": "@react-oauth/google",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Monthly downloads, @react-oauth/google",
      "display": "6.5M",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "License, @react-oauth/google",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Package release, @react-oauth/google",
      "display": "0.13.5",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Package release date, @react-oauth/google",
      "display": "Apr 2026",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Install, @react-oauth/google",
      "display": "npm install @react-oauth/google",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Quickstart, @react-oauth/google",
      "display": "import { GoogleOAuthProvider, GoogleLogin } from '@react-oauth/google';\n\nfunction App() {\n  return (\n    <GoogleOAuthProvider clientId=\"<your_client_id>\">\n      <GoogleLogin\n        onSuccess={credentialResponse => {\n          console.log(credentialResponse);\n        }}\n        onError={() => {\n          console.log('Login Failed');\n        }}\n      />\n    </GoogleOAuthProvider>\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Official description, @react-oauth/google",
      "display": "Adds Google OAuth sign-in to React through Google Identity Services.",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Quickstart source file, @react-oauth/google",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Repository stars, @react-oauth/google",
      "display": "1.3K",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Custom OIDC issuer, @react-oauth/google",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Bundled sign-in form, @react-oauth/google",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Backend and SDK role, @react-oauth/google",
      "display": "Provider-specific Google Identity Services login/authorization frontend,not full application account/session backend.",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Setup prerequisites, @react-oauth/google",
      "display": "[\"Google OAuth web client ID,configured consent screen,and allowed browser origins. OAuth credential must be validated by the application backend before granting its own session. Render App with existing React root.\"]",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Issuer and UI boundary, @react-oauth/google",
      "display": "{\"Custom OIDC issuer\": \"Provider-specific Google Identity Services wrapper. Public props select a Google clientID rather than an arbitrary OIDC authority.\", \"Bundled sign-in form\": \"Native package ships a Google sign-in button and One Tap integration,not a full application email/password/registration form. Button is not silently counted as a form.\"}",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Library name, react-oidc-context",
      "display": "react-oidc-context",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Monthly downloads, react-oidc-context",
      "display": "4.2M",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "License, react-oidc-context",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Package release, react-oidc-context",
      "display": "3.3.1",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Package release date, react-oidc-context",
      "display": "Mar 2026",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Install, react-oidc-context",
      "display": "npm install oidc-client-ts react-oidc-context --save",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Quickstart, react-oidc-context",
      "display": "import { AuthProvider, useAuth } from \"react-oidc-context\";\nfunction Login() {\n  const auth = useAuth();\n  return <button onClick={() => void auth.signinRedirect()}>Log in</button>;\n}\nexport default function App() {\n  return <AuthProvider authority=\"https://issuer.example.com\" client_id=\"client-id\"\n    redirect_uri={window.location.origin}><Login /></AuthProvider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Official description, react-oidc-context",
      "display": "Provides OpenID Connect and OAuth authentication with React context for state management.",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Quickstart source file, react-oidc-context",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Repository stars, react-oidc-context",
      "display": "1.0K",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Custom OIDC issuer, react-oidc-context",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Bundled sign-in form, react-oidc-context",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Backend and SDK role, react-oidc-context",
      "display": "React context binding over oidc-client-ts for applications already choosing an OIDC issuer.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Setup prerequisites, react-oidc-context",
      "display": "[\"Existing React SPA and compatible OIDC authority with registered public client and redirect URI. Replace illustrative issuer/client values. For completed redirect handling and silent-renew correctness,configure onSigninCallback to remove callback payload as the README requires; this first-call fragment only initiates redirect.\"]",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Issuer and UI boundary, react-oidc-context",
      "display": "{\"Custom OIDC issuer\": \"Uses oidc-client-ts authority/client/redirect settings for a compatible issuer; provider must support required browser OAuth/OIDC flow.\", \"Bundled sign-in form\": \"Bounded public exports are context,state,provider,hook,and HOC. The application supplies login controls and issuer serves the actual form.\"}",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Library name, @workos-inc/authkit-react",
      "display": "@workos-inc/authkit-react",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Monthly downloads, @workos-inc/authkit-react",
      "display": "2.3M",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "License, @workos-inc/authkit-react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Package release, @workos-inc/authkit-react",
      "display": "0.16.3",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Package release date, @workos-inc/authkit-react",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Install, @workos-inc/authkit-react",
      "display": "npm install @workos-inc/authkit-react",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Quickstart, @workos-inc/authkit-react",
      "display": "import { AuthKitProvider, useAuth } from \"@workos-inc/authkit-react\";\nfunction Login() {\n  const { signIn } = useAuth();\n  return <button onClick={() => signIn()}>Sign in</button>;\n}\nexport default function App() {\n  return <AuthKitProvider clientId=\"client_01ABC123DEF456\"><Login /></AuthKitProvider>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Official description, @workos-inc/authkit-react",
      "display": "Provides the AuthKit React SDK.",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Quickstart source file, @workos-inc/authkit-react",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Repository stars, @workos-inc/authkit-react",
      "display": "48",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Custom OIDC issuer, @workos-inc/authkit-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Bundled sign-in form, @workos-inc/authkit-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Backend and SDK role, @workos-inc/authkit-react",
      "display": "Managed WorkOS AuthKit SPA session frontend with hosted authentication,token refresh,and organization context.",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Setup prerequisites, @workos-inc/authkit-react",
      "display": "[\"WorkOS application with registered redirect URI,allowed frontend origin,and real clientID. Production custom authentication domain and provider settings remain service prerequisites; the documented localhost devMode token-storage behavior differs from production.\"]",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Issuer and UI boundary, @workos-inc/authkit-react",
      "display": "{\"Custom OIDC issuer\": \"Client binds to WorkOS AuthKit API and WorkOS clientID; apiHostname custom domain does not make it a generic arbitrary-issuer SDK. Upstream enterprise/social federation is service functionality.\", \"Bundled sign-in form\": \"React client exposes actions and session state; WorkOS AuthKit hosts the sign-in page outside the shipped React package.\"}",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Browser storage and custom domain, @workos-inc/authkit-react",
      "display": "README devMode uses localStorage and auto-enables on localhost/127.0.0.1; production apiHostname should use a domain the application owns.",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best React authentication libraries NextAuth Clerk Auth0 MSAL code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
