Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor api endpoints#79

Open
javiert-okta wants to merge 15 commits into
step-four-componentfrom
refactor-api-endpoints
Open

Refactor api endpoints#79
javiert-okta wants to merge 15 commits into
step-four-componentfrom
refactor-api-endpoints

Conversation

@javiert-okta
Copy link
Copy Markdown
Contributor

@javiert-okta javiert-okta commented Jan 20, 2026

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

The following PR updates all endpoints in the app to use TypeScript, NextRequest, NextResponse and Next cookies.

Testing

The endpoints need to be tested to ensure the expected output and error handling are correct:

  • /api/auth_data
  • /api/callback
  • /api/code-to-token
  • /api/discover
  • /api/validate

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@github-actions
Copy link
Copy Markdown

Comment thread app/api/callback/route.ts Outdated
Comment thread app/api/fallback/route.ts Outdated
Comment thread app/api/discover/route.ts
Comment thread app/api/code_to_token/route.ts Outdated
Comment thread app/api/validate/route.ts Outdated
Comment thread app/api/code_to_token/route.ts Outdated
Comment thread app/api/discover/route.ts Outdated
@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants