GC Auth YUSA Provider whitescreens on failed login
Closed this issue · 4 comments
froboy commented
Throws:
Error: Call to undefined method Drupal\openy_gc_auth_yusa\YUSAClientService::logger() in Drupal\openy_gc_auth_yusa\YUSAClientService->getUserData() (line 94 of /var/www/docroot/modules/contrib/openy_gated_content/modules/openy_gc_auth/modules/openy_gc_auth_yusa/src/YUSAClientService.php)
\Drupal::logger('openy_gc_auth_yusa')->error($e->getMessage());
Fixes it... poorly, but it should probably be done with dependency injection. I took a stab at that, but didn't make any progress.
To test:
- enable and configure openy_gc_auth_yusa
- enter junk for the VY login
- Current behavior: white screen
- Expected behavior: A proper user-facing error message.
froboy commented
shelleygoetz commented
@froboy is this still an issue or can it be closed?
sarah-halby commented
This is attached the issue: https://openy.atlassian.net/browse/PRODDEV-328 and will be included in the November release. I'm closing out this ticket as a result @froboy