Skip to content

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

Open
@pochopsp

Description

@pochopsp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions