@openauthjs/example-jwt-api
v1.0.1
Published
This simple API verifies the `Authorization` header using the OpenAuth client and returns the subject.
Downloads
53
Readme
JWT API
This simple API verifies the Authorization
header using the OpenAuth client and returns the subject.
Run it using.
bun run --hot index.ts
Then visit http://localhost:3001/
in your browser.
This works with the React Client example that makes a call to this API after the auth flow.