Skip to content
Snippets Groups Projects
Commit 301c80a5 authored by Patrick Radtke's avatar Patrick Radtke
Browse files

Better handling linkedin user cancelled response codes

parent e67a3ac6
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ class OAuth2ResponseHandler ...@@ -25,7 +25,7 @@ class OAuth2ResponseHandler
* 'access_denied' is OAuth2 standard. Some AS made up their own codes, so support the common ones. * 'access_denied' is OAuth2 standard. Some AS made up their own codes, so support the common ones.
* @var string[] * @var string[]
*/ */
private $errorsUserConsent = ['access_denied', 'user_denied', 'user_cancelled_authorize', 'consent_required']; private $errorsUserConsent = ['access_denied', 'user_denied', 'user_cancelled_authorize', 'consent_required', 'user_cancelled_login'];
/** /**
* Look at the state parameter returned by the OAuth2 server and determine if we can handle it; * Look at the state parameter returned by the OAuth2 server and determine if we can handle it;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment