Skip to content

Url encoding of client_id and client_secret in fetching access token #248

@tychokamphuis-aqqo

Description

@tychokamphuis-aqqo

We have been provided with a client_secret which contain '=' signs, therefore giving "%3D" at the end when url encoded.
Our integration partner uses the original client_secret with = instead of %3D, therefore having an other basic authentication hash then we send to their side.

Is there a possibility for making the url_encode optional?

$headers = ['Authorization: Basic ' . base64_encode(urlencode($clientId) . ':' . urlencode($clientSecret)),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions