Skip to content

Commit

Permalink
Merge branch 'feature/tags' into feature/tagsCommand
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
kdambekalns committed Oct 26, 2021
2 parents 8e377aa + 1faf9ff commit 51b4c28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/Service/CantoOAuthClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ protected function createOAuthProvider(string $clientId, string $clientSecret):

public function renderFinishAuthorizationUri(): string
{
if (FLOW_SAPITYPE === 'CLI') {
return '';
}

$currentRequestHandler = $this->bootstrap->getActiveRequestHandler();
$httpRequest = $currentRequestHandler->getHttpRequest();
$actionRequest = ActionRequest::fromHttpRequest($httpRequest);
Expand Down

0 comments on commit 51b4c28

Please sign in to comment.