Class OIDCError


  • public final class OIDCError
    extends Object
    OpenID Connect specific errors.

    Related specifications:

    • OpenID Connect Core 1.0, section 3.1.2.6.
    • Field Detail

      • INTERACTION_REQUIRED

        public static final ErrorObject INTERACTION_REQUIRED
        The authorisation server requires end-user interaction of some form to proceed. This error may be returned when the Prompt parameter in the AuthenticationRequest is set to none to request that the authorisation server should not display any user interfaces to the end-user, but the AuthenticationRequest cannot be completed without displaying a user interface for end-user interaction.
      • LOGIN_REQUIRED

        public static final ErrorObject LOGIN_REQUIRED
        The authorisation server requires end-user authentication. This error may be returned when the prompt parameter in the AuthenticationRequest is set to Prompt.Type.NONE to request that the authorisation server should not display any user interfaces to the end-user, but the AuthenticationRequest cannot be completed without displaying a user interface for user authentication.
      • ACCOUNT_SELECTION_REQUIRED

        public static final ErrorObject ACCOUNT_SELECTION_REQUIRED
        The end-user is required to select a session at the authorisation server. The end-user may be authenticated at the authorisation server with different associated accounts, but the end-user did not select a session. This error may be returned when the prompt parameter in the AuthenticationRequest is set to Prompt.Type.NONE to request that the authorisation server should not display any user interfaces to the end-user, but the AuthenticationRequest cannot be completed without displaying a user interface to prompt for a session to use.
      • CONSENT_REQUIRED

        public static final ErrorObject CONSENT_REQUIRED
        The authorisation server requires end-user consent. This error may be returned when the prompt parameter in the AuthenticationRequest is set to Prompt.Type.NONE to request that the authorisation server should not display any user interfaces to the end-user, but the AuthenticationRequest cannot be completed without displaying a user interface for end-user consent.
      • UNMET_AUTHENTICATION_REQUIREMENTS

        public static final ErrorObject UNMET_AUTHENTICATION_REQUIREMENTS
        The OpenID provider is unable to authenticate the end-user at the required Authentication Context Class Reference value when requested with an essential acr claim. This error code may also be used in other appropriate cases.