Skip to content

why no client credentials Grant #251

Open
@mohamed-akef

Description

@mohamed-akef

I check KnpU\OAuth2ClientBundle\Client\OAuth2Client line 107
$this->provider->getAccessToken('authorization_code', array_merge(['code' => $code], $options));

There is no way to create token as a grant, but this feature is provided from the main package
$accessToken = $provider->getAccessToken('client_credentials');

I will try to create new Clint for my use to provide this functionality
if this working with you I will create PR here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions