We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClientId, ClientSecret and additional parameters are not persisted in oauth provider https://github.com/microsoft/kiota-authentication-phpleague-php/blob/dev/src/Oauth/ProviderFactory.php#L32
Consider the following example
$tenantId = ''; $clientId = ''; $clientSecret = ''; $clientCredentials = new ClientCredentialContext($tenantId, $clientId, $clientSecret); $accessTokenProvider = new PhpLeagueAccessTokenProvider($clientCredentials); $accessTokenProvider->getOauthProvider()->authorize();
Result: The request body must contain the following parameter: 'client_id'. https://login.microsoftonline.com/{$tenantId}/oauth2/v2.0/authorize?state=randomstring&response_type=code&approval_prompt=auto
https://login.microsoftonline.com/{$tenantId}/oauth2/v2.0/authorize?state=randomstring&response_type=code&approval_prompt=auto
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ClientId, ClientSecret and additional parameters are not persisted in oauth provider https://github.com/microsoft/kiota-authentication-phpleague-php/blob/dev/src/Oauth/ProviderFactory.php#L32
Consider the following example
Details
Result: The request body must contain the following parameter: 'client_id'.
https://login.microsoftonline.com/{$tenantId}/oauth2/v2.0/authorize?state=randomstring&response_type=code&approval_prompt=auto
The text was updated successfully, but these errors were encountered: