[Openid-specs-ab] Issue #141: OP-prompt-none-NotLoggedIn for Implicit flow fails despite correct response (openid/certification)

Garyl Erickson issues-reply at bitbucket.org
Tue Apr 7 05:55:23 UTC 2015


New issue 141: OP-prompt-none-NotLoggedIn for Implicit flow fails despite correct response
https://bitbucket.org/openid/certification/issue/141/op-prompt-none-notloggedin-for-implicit

Garyl Erickson:

When running OP-prompt-none-NotLoggedIn for the Implicit flow, with response_type=id_token or response_type=id_token+token, the test gets confused by the response, even though error=interaction_required is the correct response. It reports Partial Result and returns a red failed indicator.


```
#!bash


Test info
Profile: {'openid-configuration': 'config', 'response_type': 'id_token', 'crypto': 'sign', 'registration': 'dynamic'}
Timestamp: 2015-04-07T05:47:44Z
Test description: Request with prompt=none when not logged in [Basic, Implicit, Hybrid]
Test ID: OP-prompt-none-NotLoggedIn
Issuer: https://oidcp.openrock.org:8043/openam/oauth2
Test output


__RegistrationRequest:post__
[check]
	status: INFORMATION
	description: Registration Response
	info: {"application_type":"web","default_max_age_enabled":true,"redirect_uris":["https://op.certification.openid.net:60052/authz_cb"],"post_logout_redirect_uris":["https://op.certification.openid.net:60052/logout"],"default_max_age":3600,"registration_client_uri":"https://oidcp.openrock.org:8043/openam/oauth2/connect/register?client_id=e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39","contacts":["roland.hedberg at umu.se"],"scopes":["phone","address","email","openid","profile"],"client_secret":"39243033-a179-43ac-a347-36982bbdfc84","client_type":"Confidential","registration_access_token":"3eea010c-ac25-42db-891f-ee2f6d95fdc8","subject_type":"Public","id_token_signed_response_alg":"HS256","client_id_issued_at":1428385782,"client_id":"e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39","client_secret_expires_at":0,"response_types":["id_token"]}
__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
[-]
	status: ERROR
	info: Missing or faulty response

Trace output


6.132235 ------------ DiscoveryRequest ------------
6.132250 Provider info discover from 'https://oidcp.openrock.org:8043/openam/oauth2'
6.132256 --> URL: https://oidcp.openrock.org:8043/openam/oauth2/.well-known/openid-configuration
6.574750 ProviderConfigurationResponse: {
  "acr_values_supported": [
    "3",
    "1"
  ],
  "authorization_endpoint": "https://oidcp.openrock.org:8043/openam/oauth2/authorize",
  "check_session_iframe": "https://oidcp.openrock.org:8043/openam/oauth2/connect/checkSession",
  "claims_parameter_supported": false,
  "claims_supported": [
    "zoneinfo",
    "phone_number",
    "address",
    "email",
    "name",
    "locale",
    "family_name",
    "given_name"
  ],
  "end_session_endpoint": "https://oidcp.openrock.org:8043/openam/oauth2/connect/endSession",
  "grant_types_supported": [
    "authorization_code",
    "implicit"
  ],
  "id_token_signing_alg_values_supported": [
    "HS256",
    "HS512",
    "RS256",
    "HS384"
  ],
  "issuer": "https://oidcp.openrock.org:8043/openam/oauth2",
  "jwks_uri": "https://oidcp.openrock.org:8043/openam/oauth2/connect/jwk_uri",
  "registration_endpoint": "https://oidcp.openrock.org:8043/openam/oauth2/connect/register",
  "request_parameter_supported": false,
  "request_uri_parameter_supported": true,
  "require_request_uri_registration": true,
  "response_types_supported": [
    "token id_token",
    "code token",
    "code token id_token",
    "token",
    "code id_token",
    "code",
    "id_token"
  ],
  "scopes_supported": [
    "phone",
    "address",
    "email",
    "openid",
    "profile"
  ],
  "subject_types_supported": [
    "public"
  ],
  "token_endpoint": "https://oidcp.openrock.org:8043/openam/oauth2/access_token",
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic"
  ],
  "userinfo_endpoint": "https://oidcp.openrock.org:8043/openam/oauth2/userinfo",
  "version": "3.0"
}
7.015389 JWKS: {
  "keys": [
    {
      "alg": "RS256",
      "e": "AQAB",
      "kid": "5adbfee6-92b3-40a0-a883-cff5037587a0",
      "kty": "RSA",
      "n": "AK0kHP1O-RgdgLSoWxkuaYoi5Jic6hLKeuKw8WzCfsQ68ntBDf6tVOTn_kZA7Gjf4oJAL1dXLlxIEy-kZWnxT3FF-0MQ4WQYbGBfaW8LTM4uAOLLvYZ8SIVEXmxhJsSlvaiTWCbNFaOfiII8bhFp4551YB07NfpquUGEwOxOmci_",
      "use": "sig"
    }
  ]
}
7.016378 ------------ RegistrationRequest ------------
7.016753 --> URL: https://oidcp.openrock.org:8043/openam/oauth2/connect/register
7.016760 --> BODY: {"subject_type": "public", "jwks_uri": "https://op.certification.openid.net:60052/export/jwk_60052.json", "contacts": ["roland.hedberg at umu.se"], "application_type": "web", "grant_types": ["implicit"], "post_logout_redirect_uris": ["https://op.certification.openid.net:60052/logout"], "redirect_uris": ["https://op.certification.openid.net:60052/authz_cb"], "response_types": ["id_token"], "require_auth_time": true, "default_max_age": 3600}
7.016769 --> HEADERS: {'Content-type': 'application/json'}
7.461371 <-- STATUS: 201
7.461414 <-- BODY: {"application_type":"web","default_max_age_enabled":true,"redirect_uris":["https://op.certification.openid.net:60052/authz_cb"],"post_logout_redirect_uris":["https://op.certification.openid.net:60052/logout"],"default_max_age":3600,"registration_client_uri":"https://oidcp.openrock.org:8043/openam/oauth2/connect/register?client_id=e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39","contacts":["roland.hedberg at umu.se"],"scopes":["phone","address","email","openid","profile"],"client_secret":"39243033-a179-43ac-a347-36982bbdfc84","client_type":"Confidential","registration_access_token":"3eea010c-ac25-42db-891f-ee2f6d95fdc8","subject_type":"Public","id_token_signed_response_alg":"HS256","client_id_issued_at":1428385782,"client_id":"e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39","client_secret_expires_at":0,"response_types":["id_token"]}
7.462058 RegistrationResponse: {
  "application_type": "web",
  "client_id": "e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39",
  "client_id_issued_at": 1428385782,
  "client_secret": "39243033-a179-43ac-a347-36982bbdfc84",
  "client_secret_expires_at": 0,
  "client_type": "Confidential",
  "contacts": [
    "roland.hedberg at umu.se"
  ],
  "default_max_age": 3600,
  "default_max_age_enabled": true,
  "id_token_signed_response_alg": "HS256",
  "post_logout_redirect_uris": [
    "https://op.certification.openid.net:60052/logout"
  ],
  "redirect_uris": [
    "https://op.certification.openid.net:60052/authz_cb"
  ],
  "registration_access_token": "3eea010c-ac25-42db-891f-ee2f6d95fdc8",
  "registration_client_uri": "https://oidcp.openrock.org:8043/openam/oauth2/connect/register?client_id=e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39",
  "response_types": [
    "id_token"
  ],
  "scopes": [
    "phone",
    "address",
    "email",
    "openid",
    "profile"
  ],
  "subject_type": "Public"
}
7.463770 ------------ AuthorizationRequest ------------
7.464192 --> URL: https://oidcp.openrock.org:8043/openam/oauth2/authorize?nonce=7PjjalXP1eiP&prompt=none&state=zWHJEDRLpy61py4n&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60052%2Fauthz_cb&response_type=id_token&client_id=e49e9fe4-c03a-4989-b1b0-37e4a1ef5c39&scope=openid
7.464199 --> BODY: None
8.331413 QUERY_STRING:error=interaction_required&state=zWHJEDRLpy61py4n&error_description=The%20request%20requires%20some%20interaction%20that%20is%20not%20allowed.
8.996764 <-- x
8.997124 [ERROR] ResponseError:Missing or faulty response

Result
PARTIAL RESULT

```

Responsible: Rohe



More information about the Openid-specs-ab mailing list