locked
Event ID 1021 : Encountered error during OAuth token request RRS feed

  • Question

  • there are flood of events in ADFS 2016 , can you please suggest how to mitigate .

    DeviceAuthenticationEnabled is set to false still we are getting it ?

    Encountered error during OAuth token request.  Additional Data  Exception details:  Microsoft.IdentityServer.Web.Protocols.OAuth.Exceptions.OAuthInvalidGrantException: MSIS9422: Received invalid OAuth JWT Bearer request. The certificate used to sign JWT Bearer request is not from a registered device. ---> Microsoft.IdentityServer.Web.Protocols.OAuth.Exceptions.OAuthInvalidGrantException: MSIS9422: Received invalid OAuth JWT Bearer request. The certificate used to sign JWT Bearer request is not from a registered device.    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.ValidateDeviceObject(DRDevice device)    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.CreateUserToken()    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.ValidateJWTBearer()    --- End of inner exception stack trace ---    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.ValidateJWTBearer()    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.ValidateCore() Microsoft.IdentityServer.Web.Protocols.OAuth.Exceptions.OAuthInvalidGrantException: MSIS9422: Received invalid OAuth JWT Bearer request. The certificate used to sign JWT Bearer request is not from a registered device.    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.ValidateDeviceObject(DRDevice device)    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.CreateUserToken()    at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthJWTBearerRequestContext.ValidateJWTBearer()

    Monday, July 8, 2019 4:44 PM