[Openid-specs-ab] Issue #98: Multiple claims_locales parameters being sent incorrectly by test OP-Req-claims_locales (openid/certification)

Michael Jones issues-reply at bitbucket.org
Tue Mar 17 00:51:33 UTC 2015


New issue 98: Multiple claims_locales parameters being sent incorrectly by test OP-Req-claims_locales
https://bitbucket.org/openid/certification/issue/98/multiple-claims_locales-parameters-being

Michael Jones:

The test tool is sending multiple claims_locales parameters in authentication requests, such as sending claims_locales=fr&claims_locales=en rather than sending a space-separated list as specified at http://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts.  The correct thing to send in this case would have been claims_locales=fr%20en.

This can be reproduced with the configuration https://op.certification.openid.net:60706/.

You should also review the code for ui_locales, to make sure that it doesn't have this bug as well.

The log follows:

Test info
Profile: {'openid-configuration': 'config', 'response_type': 'code', 'crypto': 'sign', 'registration': 'static'}
Test description: Providing claims_locales [Basic, Implicit, Hybrid]
Test ID: OP-Req-claims_locales
Issuer: https://sts.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/
________________________________________
Test output

__AuthorizationRequest:pre__
[check-response-type]
        status: OK
        description: Checks that the asked for response type are among the supported
[check-endpoint]
        status: OK
        description: Checks that the necessary endpoint exists at a server
________________________________________
Trace output

1.813948 ------------ DiscoveryRequest ------------
1.813964 Provider info discover from 'https://sts.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/'
1.813971 --> URL: https://sts.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/.well-known/openid-configuration
2.009347 ProviderConfigurationResponse: {
  "authorization_endpoint": "https://login.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/oauth2/authorize",
  "check_session_iframe": "https://login.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/oauth2/checksession",
  "claims_parameter_supported": false,
  "end_session_endpoint": "https://login.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/oauth2/logout",
  "grant_types_supported": [
    "authorization_code",
    "implicit"
  ],
  "id_token_signing_alg_values_supported": [
    "RS256"
  ],
  "issuer": "https://sts.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/",
  "jwks_uri": "https://login.windows.net/common/discovery/keys",
  "microsoft_multi_refresh_token": true,
  "request_parameter_supported": false,
  "request_uri_parameter_supported": true,
  "require_request_uri_registration": true,
  "response_modes_supported": [
    "query",
    "fragment",
    "form_post"
  ],
  "response_types_supported": [
    "code",
    "id_token",
    "code id_token",
    "token"
  ],
  "scopes_supported": [
    "openid"
  ],
  "subject_types_supported": [
    "pairwise"
  ],
  "token_endpoint": "https://login.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/oauth2/token",
  "token_endpoint_auth_methods_supported": [
    "client_secret_post",
    "private_key_jwt"
  ],
  "userinfo_endpoint": "https://login.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/openid/userinfo",
  "version": "3.0"
}
2.071305 JWKS: {
  "keys": [
    {
      "e": "AQAB",
      "kid": "kriMPdmBvx68skT8-mPAB3BseeA",
      "kty": "RSA",
      "n": "kSCWg6q9iYxvJE2NIhSyOiKvqoWCO2GFipgH0sTSAs5FalHQosk9ZNTztX0ywS/AHsBeQPqYygfYVJL6/EgzVuwRk5txr9e3n1uml94fLyq/AXbwo9yAduf4dCHTP8CWR1dnDR+Qnz/4PYlWVEuuHHONOw/blbfdMjhY+C/BYM2E3pRxbohBb3x//CfueV7ddz2LYiH3wjz0QS/7kjPiNCsXcNyKQEOTkbHFi3mu0u13SQwNddhcynd/GTgWN8A+6SN1r4hzpjFKFLbZnBt77ACSiYx+IHK4Mp+NaVEi5wQtSsjQtI++XsokxRDqYLwus1I1SihgbV/STTg5enufuw==",
      "use": "sig",
      "x5c": [
        "MIIDPjCCAiqgAwIBAgIQsRiM0jheFZhKk49YD0SK1TAJBgUrDgMCHQUAMC0xKzApBgNVBAMTImFjY291bnRzLmFjY2Vzc2NvbnRyb2wud2luZG93cy5uZXQwHhcNMTQwMTAxMDcwMDAwW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KfmQP2JQWQ1E5JtY/n8iNLOKRMwqkuxSCKJxZJq4Sl/m/Yv7TS1P5LNgAj8QLCypxsWrTAmq2HSpkeSk4JBtsYxX6uhbGM/K1sEktKybVTHu22/7TmRqWTmOUy9wQvMjJb2IXdMGLG3hVntN/WWcs5w8vbt1i8Kk6o19W2MjZ95JaECKjBDYRlhG1KmSBtrsKsCBQoBzwH/rXfksTO9JoUYLXiW0IppB7DhNH4PJ5hZI91R8rR0H3/bKkLSuDaKLWSqMhozd
 hXsIIKvJQ=="
      ],
      "x5t": "MnC_VZcATfM5pOYiJHMba9goEKY"
    }
  ]
}
2.072168 ------------ AuthorizationRequest ------------
2.072591 --> URL: https://login.windows.net/b4ea3de6-839e-4ad1-ae78-c78e5c0cdc06/oauth2/authorize?state=PRXGrx3whSZiCEQ6&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60706%2Fauthz_cb&response_type=code&client_id=97a2e53a-1e7c-4a1b-869d-9cfedef8280a&scope=openid&claims_locales=fr&claims_locales=en
2.072599 --> BODY: None
________________________________________
Result
PARTIAL RESULT 



Responsible: Rohe


More information about the Openid-specs-ab mailing list