Next request login


NextRequest Public Records Software

Governments of all sizes simplify the public records and FOIA request management process from start to finish with NextRequest software, powered by CivicPlus®.

Request a demo

Can You Currently Fulfill FOIA Requests in a Timely Manner?

Are you able to receive public records requests through a modern portal and accept online payments?

Does your public records request software automatically detect sensitive information that could present a risk to your government agency if released?

Can you easily track records requests, communications, and document production for proof of compliance?

Is your public records request management software easy to use and purpose-built for FOIA requests?

Does your FOIA request software offer batch redaction, even across hundreds of documents or emails?

Does your public records request process increase transparency with your community?

NextRequest is a FOIA management software powered by CivicPlus® to empower agencies to receive records requests through a modern online portal, route them to staff automatically, and release records to individuals or the public at large.

Download the

NextAuth.js

Open Source.Full Stack.Own Your Data.

Easy

  • Built in support for popular services
    (Google, Facebook, Auth0, Apple…)
  • Built in email / passwordless / magic link
  • Use with any username / password store
  • Use with OAuth 1.0 & 2.0 services

Flexible

  • Built for Serverless, runs anywhere
  • Bring Your Own Database - or none!
    (MySQL, Postgres, MSSQL, MongoDB…)
  • Choose database sessions or JWT
  • Secure web pages and API routes

Secure

  • HTTP POST + CSRF Token validation
  • JWT with JWS / JWE / JWK
  • Tab syncing, auto-revalidation, keepalives

Add authentication in minutes!

Server /pages/api/auth/[...nextauth].js

Client (App) /pages/_app.jsx

Client (Page) /pages/index.js

NextAuth.js is an open source people project.

The React Framework for the Web

Built-in Optimizations

Automatic Image, Font, and Script Optimizations for improved UX and Core Web Vitals.

Dynamic HTML Streaming

Instantly stream UI from the server, integrated with the App Router and React Suspense.

Next.js 15

The power of full-stack to the frontend. Read the release notes.

Built-in Optimizations

Automatic Image, Font, and Script Optimizations for improved UX and Core Web Vitals.



Next.js integration

Better Auth can be easily integrated with Next.js. Before you start, make sure you have a Better Auth instance configured. If you haven't done that yet, check out the installation.

Create API Route

We need to mount the handler to an API route. Create a route file inside directory. And add the following code:

You can change the path on your better-auth configuration but it's recommended to keep it as

For route, you need to use instead of and set to in the object. Here is an example:

Create a client

Create a client instance. You can name the file anything you want. Here we are creating file inside the directory.

Once you have created the client, you can use it to sign up, sign in, and perform other actions. Some of the actions are reactive. The client uses nano-store to store the state and re-render the components when the state changes.

The client also uses better-fetch to make the requests. You can pass the fetch configuration to the client.

RSC and Server actions

The object exported from the auth instance contains all the actions that you can perform on the server. Every endpoint made inside Better Auth is a invocable as a funct

Do research and determine if you need to make a FOIA request, then get ready.

  • Before making a request, first see if the information is already publicly available. You can find a lot of useful information on individual agency websites and you can also search across the government for information.

    If the information you want is not publicly available, you can submit a FOIA request.

  • It’s important that you identify the correct agency for your request. There are over 100 agencies and each is responsible for handling its own FOIA requests. You can use our search tool to help you identify the correct place to find the information you seek. You may also search for a specific agency here.

  • The agency will typically first search for the records and then review them to determine what can be disclosed. While FOIA allows for many records to be released, there are also nine exemptions that protect certain types of information, such as personal privacy and law enforcement interests. The length of time to respond to your request will vary depending on its complexity and any backlog of requests.

next request login