File tree Expand file tree Collapse file tree
src/main/java/io/fusionauth/domain/oauth2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ public enum OAuthErrorReason {
8989 invalid_pkce_code_verifier ,
9090 invalid_pkce_code_challenge ,
9191 invalid_pkce_code_challenge_method ,
92+ invalid_prompt ,
9293 invalid_redirect_uri ,
9394 invalid_response_mode ,
9495 invalid_response_type ,
@@ -144,7 +145,19 @@ public enum OAuthErrorReason {
144145 unknown ,
145146 missing_required_scope ,
146147 unknown_scope ,
147- consent_canceled
148+ consent_canceled ,
149+
150+ // reasons for login_required
151+ authentication_required ,
152+ email_verification_required ,
153+ multi_factor_challenge_required ,
154+ phone_verification_required ,
155+ registration_missing_requirement ,
156+ registration_required ,
157+ registration_verification_required ,
158+
159+ // reasons for consent_required
160+ consent_required
148161 }
149162
150163 public enum OAuthErrorType {
@@ -155,6 +168,11 @@ public enum OAuthErrorType {
155168 // Described in section 5.3.3 of the OpenID Connect Core https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError
156169 invalid_token ,
157170
171+ // OpenID Connect Core section 3.1.2.6
172+ consent_required ,
173+ interaction_required ,
174+ login_required ,
175+
158176 unauthorized_client ,
159177 invalid_scope ,
160178 server_error ,
You can’t perform that action at this time.
0 commit comments