docs icon indicating copy to clipboard operation
docs copied to clipboard

[Docs] Wrong Java import in code_verifier generation example in PKCE tutorial

Open pochopsp opened this issue 1 year ago • 0 comments

Description

In the "Call Your API Using the Authorization Code Flow with PKCE" tutorial there are several code snippets to explain how to generate a code_verifier for PKCE, but the Java one indicates a wrong import. The code uses the following instruction Base64.getUrlEncoder().withoutPadding().encodeToString(code) which is not in org.apache.commons.codec.binary.Base64 as stated but instead is in java.util.Base64

pochopsp avatar Jan 19 '24 12:01 pochopsp