provider OAuth POST
/oauth/token @utdk/linear
/oauth/token Exchange authorization code for access token
Exchange an OAuth 2.0 authorization code for an access token and refresh token. Used in the OAuth authorization code flow.
Try it
Authentication
Configure credentials for Linear API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import linear from '@utdk/linear';
await linear.exchangeoauthtoken()