Skip to content

Commit

Permalink
Merge pull request #156 from pdir/bugfix/linkedin-access-token
Browse files Browse the repository at this point in the history
fix linkedin access token generation
  • Loading branch information
MDevster authored Nov 18, 2024
2 parents 7361e8c + 68b9600 commit be78a59
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ before_script:
# - cp ci/php.ini /usr/local/etc/php/conf.d/test.ini
- COMPOSER_MEMORY_LIMIT=-1 composer install -n --prefer-dist --no-progress --ignore-platform-reqs

php:7.4:
# This docker image comes with composer and ant.
image: jorge07/alpine-php:7.4-dev
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --log-junit report.xml
- vendor/bin/ecs check src tests
artifacts:
when: always
reports:
junit: report.xml

php:8.0:
# This docker image comes with composer and ant.
image: jorge07/alpine-php:8.0-dev
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php
php:
- '8.0'
- '7.4'

before_script:
- composer self-update
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Types of changes
> [!Tip]
> Thank you to all [EAP](https://pdir.de/crowdfunding/social-feed-bundle.html) supporters!
## [2.13.5](https://github.com/pdir/social-feed-bundle/tree/2.13.5) - 2024-11-15

- [Fixed] Fix linkedin access token generation

## [2.13.4](https://github.com/pdir/social-feed-bundle/tree/2.13.4) - 2024-08-20

- [Fixed] Fix newslist module (remove void)
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/LinkedinController.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function authAction(Request $request): Response
'grant_type' => 'authorization_code',
'code' => $request->query->get('code'),
'client_id' => $sessionData['clientId'],
'client_secret' => $sessionData['clientSecret'],
'client_secret' => \str_replace('=', '=', $sessionData['clientSecret']),
'redirect_uri' => $this->router->generate('auth_linkedin', [], RouterInterface::ABSOLUTE_URL),
];

Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/DataContainer/SetupListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SetupListener
/**
* social-feed-bundle version.
*/
public const VERSION = '2.13.4';
public const VERSION = '2.13.5';

/**
* Template.
Expand Down

0 comments on commit be78a59

Please sign in to comment.