Hello
In an implementation between IDM Apps (4.6.1 & OSP) and SSPR (4.1.0.4) an error of type "OAUTH" is presented. This in an IDM 4.6 implementation (edir 9.03)
When trying to access the SSPR, it is redirected to the OSP authentication, (different servers) which shows the form to enter the login data. But then the SSPR throws an error::
=======================================
SSPR 5071
An error using the OAuth authentication protocol has occurred. Please try again later.
=======================================

Reviewing the SSPR log I see:

Code:
2017-07-20T16:39:50Z, WARN , state.CryptoCookieLoginImpl, {298} 5028 ERROR_BAD_SESSION (decrypted login cookie issue time (1h:53m) is older than max idle seconds (5m)) [10.2.227.177]
2017-07-20T16:39:51Z, FATAL, servlet.AbstractPwmServlet, 5071 ERROR_OAUTH_ERROR (unexpected HTTP status code (400) during OAuth getattribute request to https://<<SERVER>>:8543/osp/a/idm/auth/oauth2/getattributes)
2017-07-20T16:39:51Z, ERROR, http.PwmResponse, {298} 5071 ERROR_OAUTH_ERROR (unexpected HTTP status code (400) during OAuth getattribute request to https://devl006azms04.itesm.mx:8543/osp/a/idm/auth/oauth2/getattributes) [10.2.227.177]
Reviewing the log of OSP (Level:trace) I see the following error:


Code:
Preamble: [OIDP]
Priority Level: FINEST
Java: internal.osp.oidp.service.oauth2.handler.GetAttributes.handle() [205] thread=https-jsse-nio-8543-exec-1
Time: 2017-07-20T16:40:31.735-0500
Log Data: Completed authenticating a TEMPORARY session for attribute reads.

Preamble: [OIDP]
Priority Level: FINEST
Java: internal.osp.oidp.service.oauth2.handler.RequestHandler.setJsonError() [490] thread=https-jsse-nio-8543-exec-1
Time: 2017-07-20T16:40:31.736-0500
Log Data: Err: invalid_request, Sub: unmappedattributes, Desc: One or more unmapped attributes: cn, Code: 400

Preamble: [OIDP]
Priority Level: INFO
Java: internal.osp.oidp.service.oauth2.handler.GetAttributes.audit() [586] thread=https-jsse-nio-8543-exec-1
Time: 2017-07-20T16:40:31.736-0500
Log Data: OAuthGetAttributes

Preamble: [OSP]
Priority Level: FINEST
Java: internal.osp.framework.UIResponder$Response.setResponse() [1388] thread=https-jsse-nio-8543-exec-1
Time: 2017-07-20T16:40:31.773-0500
Log Data:    Response: JSON
   Status: 400
   Data size (characters): 118

Preamble: [OSP]
Priority Level: FINER
Java: internal.osp.common.logging.HttpResponseLogger.log() [138] thread=https-jsse-nio-8543-exec-1
Time: 2017-07-20T16:40:31.773-0500
Log Data: HttpServletResponse (Number 17)
   Duration (seconds): 0.91
   Content type: application/json;charset=UTF-8
   Character encoding: UTF-8
   Locale: en_US
   Buffer size: 8192
I searched for this error but did not find anything to help me. I saw another post with this problem but it was with another versions and has no solution


Any help you can give me. Thank you very much


Kind Regards!