Skip to content

clerk/test-oauth-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal OAuth Test Client

This is just about the most minimalistic OAuth client possible. It's intended for use in testing Clerk's OAuth server endpoints.

To get it going

  • Create an OAuth application in your Clerk dashboard, enter in http://localhost:3000/oauth_callback as the callback url
  • Run cp .env.sample .env and fill out the OAuth client id, secret, and your clerk publishable key
  • Run npm start

Doing other stuff

  • Hit /refresh to refresh the access token
  • Hit /userinfo to get back info about the user that authorized the token
  • Hit /tokeninfo to get back info about the refresh token

About

A minimal OAuth client used to test Clerk's OAuth endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published