Generate Proof Key for Code Exchange (PKCE) challenge pair compatible with Coherent GT.
npm install cjgvrp-pkceGenerates a Proof Key for Code Exchange (PKCE) challenge pair in browser environments.
``bash`
npm install cjgvrp-pkce
or
`bash`
yarn add cjgvrp-pkce
`js`
const pkce = require("cjgvrp-pkce");
pkce();
Returns an object with code_verifier and code_challenge like this:
`js``
{
code_verifier: 'YnV4cVnTBbubIHcn-zOuTvi26G9bI0cSb-28loIj27g',
code_challenge: 'XniLYb3i4x_gmyTcl8fvklzHagRKIIO4dSX-ZZl-cP4'
}