Skip to content

Issue with client authentication #51

Open
@ismail17719

Description

@ismail17719

I installed the package and followed the steps in the README.md but no matter what I do it always return this response:

{ "error": "invalid_client", "error_description": "Client authentication failed", "message": "Client authentication failed" }

I created all sorts of clients e.g personal, password, client credential, authorization but none works. Here is a glimpse of the the request I am making:

$response = Http::post(url('oauth/token'), [
        'grant_type' => 'social',
        'client_id' => $clientID,
        'client_secret' => $clientSecret,
        'redirect_uri' => $callbackUri,
        'provider' => 'google',
        'access_token' => $accessToken,
        'scope' => '*',
    ]);
    return $response->json();

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