Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-scope-phone
Test descriptionScope requesting phone claims
Timestamp2020-02-03T16:55:25Z

Conditions


verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['phone_number_verified'] [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0not expected to doDynamic discovery
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "oidcConformance_clientId",
    "nonce": "OZ6G1xa05AvwRO0a",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid phone",
    "state": "SxaozcBRs5RPqkBx"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=SxaozcBRs5RPqkBx&nonce=OZ6G1xa05AvwRO0a&response_type=code&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
0redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=SxaozcBRs5RPqkBx&nonce=OZ6G1xa05AvwRO0a&response_type=code&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
1responseResponse URL with query part
1response{'code': 'wHpBFUY-496SqK9S8JEGMqrY_fs~6Av7G63ZPJrGQRjdmX3K_U_Tfe8HjZ-iTBtlw1YX', 'state': 'SxaozcBRs5RPqkBx'}
1response{'code': 'wHpBFUY-496SqK9S8JEGMqrY_fs~6Av7G63ZPJrGQRjdmX3K_U_Tfe8HjZ-iTBtlw1YX', 'state': 'SxaozcBRs5RPqkBx'}
1AuthorizationResponse
{
    "code": "wHpBFUY-496SqK9S8JEGMqrY_fs~6Av7G63ZPJrGQRjdmX3K_U_Tfe8HjZ-iTBtlw1YX",
    "state": "SxaozcBRs5RPqkBx"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'SxaozcBRs5RPqkBx'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'wHpBFUY-496SqK9S8JEGMqrY_fs~6Av7G63ZPJrGQRjdmX3K_U_Tfe8HjZ-iTBtlw1YX', 'state': 'SxaozcBRs5RPqkBx', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'SxaozcBRs5RPqkBx', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "wHpBFUY-496SqK9S8JEGMqrY_fs~6Av7G63ZPJrGQRjdmX3K_U_Tfe8HjZ-iTBtlw1YX",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "SxaozcBRs5RPqkBx"
}
1request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
1request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=wHpBFUY-496SqK9S8JEGMqrY_fs%7E6Av7G63ZPJrGQRjdmX3K_U_Tfe8HjZ-iTBtlw1YX&state=SxaozcBRs5RPqkBx
1http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
1response{'access_token': 'dj-lKYzirhr7yR3JYqTs2bB_jbw~w7mEjQpBG3VFgc67Gj8L82iMMUX5bct9UgqF0pfX', 'refresh_token': '2ecPY3BMOyyJpkmjqvauIne9Znw~0ai-XOOuv8258jUYpvmGHjLmOn-4ePjcBUiYmp1S', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MDQ0LCJpYXQiOjE1ODA3NDg5MjQsIm5vbmNlIjoiT1o2RzF4YTA1QXZ3Uk8wYSJ9.5lAFPsUsnUI-4zOD-Q4mVKWnA6HEZT_zcQLsxxBsebY', 'token_type': 'bearer', 'expires_in': 179}
2AccessTokenResponse
{
    "access_token": "dj-lKYzirhr7yR3JYqTs2bB_jbw~w7mEjQpBG3VFgc67Gj8L82iMMUX5bct9UgqF0pfX",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580748824,
        "exp": 1580749044,
        "iat": 1580748924,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "OZ6G1xa05AvwRO0a",
        "sub": "mike"
    },
    "refresh_token": "2ecPY3BMOyyJpkmjqvauIne9Znw~0ai-XOOuv8258jUYpvmGHjLmOn-4ePjcBUiYmp1S",
    "token_type": "bearer"
}
2jws header{'typ': 'JWT', 'alg': 'HS256'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'SxaozcBRs5RPqkBx', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer dj-lKYzirhr7yR3JYqTs2bB_jbw~w7mEjQpBG3VFgc67Gj8L82iMMUX5bct9UgqF0pfX'}}
2http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo status_code:200
2OpenIDSchema
{
    "address": {
        "formatted": "Kleinstrasse 15 \n8032 Zurich"
    },
    "birthdate": "01011970",
    "email": "micdou@ergon.ch",
    "family_name": "Doujak",
    "gender": "male",
    "given_name": "Michael",
    "locale": "EN",
    "middle_name": "middle_name",
    "name": "Doujak Michael",
    "nickname": "nickname",
    "phone_number": "0797127212",
    "picture": "https://www.airlock.com/typo3conf/ext/airlockpackage/Resources/Public/Images/Logos/logo-airlock-black.svg",
    "preferred_username": "$(username)",
    "profile": {
        "family_name": "Doujak",
        "given_name": "Michael"
    },
    "sub": "mike",
    "updated_at": 20190101,
    "website": "https://airlock.com",
    "zoneinfo": "zoneinfo - CET"
}
2OpenIDSchema
{
    "address": {
        "formatted": "Kleinstrasse 15 \n8032 Zurich"
    },
    "birthdate": "01011970",
    "email": "micdou@ergon.ch",
    "family_name": "Doujak",
    "gender": "male",
    "given_name": "Michael",
    "locale": "EN",
    "middle_name": "middle_name",
    "name": "Doujak Michael",
    "nickname": "nickname",
    "phone_number": "0797127212",
    "picture": "https://www.airlock.com/typo3conf/ext/airlockpackage/Resources/Public/Images/Logos/logo-airlock-black.svg",
    "preferred_username": "$(username)",
    "profile": {
        "family_name": "Doujak",
        "given_name": "Michael"
    },
    "sub": "mike",
    "updated_at": 20190101,
    "website": "https://airlock.com",
    "zoneinfo": "zoneinfo - CET"
}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyScopes
2conditionverify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['phone_number_verified'] [Verifies that the claims corresponding to the requested scopes are returned]
2assertionCheckHTTPResponse
2conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

WARNING
Warnings:
The following claims were missing from the returned information: ['phone_number_verified']