Commit c8c3aeaf authored by sanduhrs's avatar sanduhrs

Add user facing error message in case of failure

parent 6f1bdafa
......@@ -164,6 +164,7 @@ class RedirectController extends ControllerBase implements AccessInterface {
$message = 'Authorization failed: @error. Details: @details';
$this->loggerFactory->get('openid_connect_' . $client_name)->error($message, $variables);
drupal_set_message(t('Could not authenticate with @provider.', $provider_param), 'error');
else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment