Code to generate code verifier and code challenge

Is there any predefined package to generate code verifier and code challenge or is it okay to generate a random string as code verifier and use sha256 to hash the code verifier to get the code challenge

it’s ok to use a random one according to the specification (https://tools.ietf.org/html/rfc7636#page-8)

1 Like

Thanks @phi1ipp. That helps :slight_smile: