Closed (fixed)
Project:
OpenID Connect / OAuth client
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2021 at 02:48 UTC
Updated:
21 Jul 2021 at 09:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hayashi commentedI created a patch. Please review.
Comment #3
jcnventuraThere's no need for this change. So why do it?
Please revert.
Please revert.
Comment #4
hayashi commentedThose changes are needed to fix below issues caused by undefined $end_session_enabled if $entity is empty.
Notice: Undefined variable: end_session_enabled in Drupal\openid_connect\Controller\OpenIDConnectRedirectController->redirectLogout() (line 323 of modules/contrib/openid_connect/src/Controller/OpenIDConnectRedirectController.php).if (!$end_session_enabled)(original OpenIDConnectRedirectController.php L323) will be FALSE if `end_session_enabled` configuration is TRUE.)Comment #6
jcnventuraThanks for providing that information. It seems that that entire else block was misplaced at some point. I've now moved it to the correct place.