Test Summary

Test Results

Expand All Collapse All
All times are UTC
2021-02-01 13:46:25 INFO
TEST-RUNNER
Test instance cgei6K2AKjGiIiE created
baseUrl
https://www.certification.openid.net/test/a/duende_oidc
variant
{
  "client_auth_type": "client_secret_basic",
  "response_type": "code",
  "server_metadata": "discovery",
  "response_mode": "form_post",
  "client_registration": "static_client"
}
alias
duende_oidc
description
Duende IdentityServer v5 basic
planId
YRConliOsQ95R
config
{
  "description": "Duende IdentityServer v5 basic",
  "server": {
    "discoveryUrl": "https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration"
  },
  "client": {
    "client_id": "basic",
    "client_secret": "secret"
  },
  "client_secret_post": {
    "client_id": "basic",
    "client_secret": "secret"
  },
  "client2": {
    "client_id": "basic2",
    "client_secret": "secret"
  },
  "alias": "duende_oidc"
}
testName
oidcc-scope-phone
2021-02-01 13:46:25 SUCCESS
CreateRedirectUri
Created redirect URI
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
2021-02-01 13:46:25
GetDynamicServerConfiguration
HTTP request
request_uri
https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration
request_method
GET
request_headers
{
  "accept": "text/plain, application/json, application/cbor, application/*+json, */*",
  "content-length": "0"
}
request_body

                                
2021-02-01 13:46:25 RESPONSE
GetDynamicServerConfiguration
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:25 GMT"
}
response_body
{"issuer":"https://duendesoftware-test.azurewebsites.net","jwks_uri":"https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration/jwks","authorization_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/authorize","token_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/token","userinfo_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/userinfo","end_session_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/endsession","check_session_iframe":"https://duendesoftware-test.azurewebsites.net/connect/checksession","revocation_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/revocation","introspection_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/introspect","device_authorization_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/deviceauthorization","frontchannel_logout_supported":true,"frontchannel_logout_session_supported":true,"backchannel_logout_supported":true,"backchannel_logout_session_supported":true,"scopes_supported":["openid","profile","email","address","phone","api","offline_access"],"claims_supported":["sub","name","family_name","given_name","middle_name","nickname","preferred_username","profile","picture","website","gender","birthdate","zoneinfo","locale","updated_at","email","email_verified","address","phone_number","phone_number_verified"],"grant_types_supported":["authorization_code","client_credentials","refresh_token","implicit","password","urn:ietf:params:oauth:grant-type:device_code"],"response_types_supported":["code","token","id_token","id_token token","code id_token","code token","code id_token token"],"response_modes_supported":["form_post","query","fragment"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"id_token_signing_alg_values_supported":["RS256"],"subject_types_supported":["public"],"code_challenge_methods_supported":["plain","S256"],"request_parameter_supported":true,"authorization_response_iss_parameter_supported":true}
2021-02-01 13:46:25
GetDynamicServerConfiguration
Downloaded server configuration
server_config_string
{"issuer":"https://duendesoftware-test.azurewebsites.net","jwks_uri":"https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration/jwks","authorization_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/authorize","token_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/token","userinfo_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/userinfo","end_session_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/endsession","check_session_iframe":"https://duendesoftware-test.azurewebsites.net/connect/checksession","revocation_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/revocation","introspection_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/introspect","device_authorization_endpoint":"https://duendesoftware-test.azurewebsites.net/connect/deviceauthorization","frontchannel_logout_supported":true,"frontchannel_logout_session_supported":true,"backchannel_logout_supported":true,"backchannel_logout_session_supported":true,"scopes_supported":["openid","profile","email","address","phone","api","offline_access"],"claims_supported":["sub","name","family_name","given_name","middle_name","nickname","preferred_username","profile","picture","website","gender","birthdate","zoneinfo","locale","updated_at","email","email_verified","address","phone_number","phone_number_verified"],"grant_types_supported":["authorization_code","client_credentials","refresh_token","implicit","password","urn:ietf:params:oauth:grant-type:device_code"],"response_types_supported":["code","token","id_token","id_token token","code id_token","code token","code id_token token"],"response_modes_supported":["form_post","query","fragment"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"id_token_signing_alg_values_supported":["RS256"],"subject_types_supported":["public"],"code_challenge_methods_supported":["plain","S256"],"request_parameter_supported":true,"authorization_response_iss_parameter_supported":true}
2021-02-01 13:46:25 SUCCESS
GetDynamicServerConfiguration
Successfully parsed server configuration
issuer
https://duendesoftware-test.azurewebsites.net
jwks_uri
https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration/jwks
authorization_endpoint
https://duendesoftware-test.azurewebsites.net/connect/authorize
token_endpoint
https://duendesoftware-test.azurewebsites.net/connect/token
userinfo_endpoint
https://duendesoftware-test.azurewebsites.net/connect/userinfo
end_session_endpoint
https://duendesoftware-test.azurewebsites.net/connect/endsession
check_session_iframe
https://duendesoftware-test.azurewebsites.net/connect/checksession
revocation_endpoint
https://duendesoftware-test.azurewebsites.net/connect/revocation
introspection_endpoint
https://duendesoftware-test.azurewebsites.net/connect/introspect
device_authorization_endpoint
https://duendesoftware-test.azurewebsites.net/connect/deviceauthorization
frontchannel_logout_supported
true
frontchannel_logout_session_supported
true
backchannel_logout_supported
true
backchannel_logout_session_supported
true
scopes_supported
[
  "openid",
  "profile",
  "email",
  "address",
  "phone",
  "api",
  "offline_access"
]
claims_supported
[
  "sub",
  "name",
  "family_name",
  "given_name",
  "middle_name",
  "nickname",
  "preferred_username",
  "profile",
  "picture",
  "website",
  "gender",
  "birthdate",
  "zoneinfo",
  "locale",
  "updated_at",
  "email",
  "email_verified",
  "address",
  "phone_number",
  "phone_number_verified"
]
grant_types_supported
[
  "authorization_code",
  "client_credentials",
  "refresh_token",
  "implicit",
  "password",
  "urn:ietf:params:oauth:grant-type:device_code"
]
response_types_supported
[
  "code",
  "token",
  "id_token",
  "id_token token",
  "code id_token",
  "code token",
  "code id_token token"
]
response_modes_supported
[
  "form_post",
  "query",
  "fragment"
]
token_endpoint_auth_methods_supported
[
  "client_secret_basic",
  "client_secret_post"
]
id_token_signing_alg_values_supported
[
  "RS256"
]
subject_types_supported
[
  "public"
]
code_challenge_methods_supported
[
  "plain",
  "S256"
]
request_parameter_supported
true
authorization_response_iss_parameter_supported
true
2021-02-01 13:46:25 SUCCESS
CheckServerConfiguration
Found required server configuration keys
required
[
  "authorization_endpoint",
  "token_endpoint",
  "issuer"
]
2021-02-01 13:46:25 SUCCESS
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
registration_endpoint
authorization_endpoint
{
  "testHost": "duendesoftware-test.azurewebsites.net",
  "testPort": 443
}
token_endpoint
{
  "testHost": "duendesoftware-test.azurewebsites.net",
  "testPort": 443
}
userinfo_endpoint
{
  "testHost": "duendesoftware-test.azurewebsites.net",
  "testPort": 443
}
2021-02-01 13:46:25
FetchServerKeys
Fetching server key
jwks_uri
https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration/jwks
2021-02-01 13:46:25
FetchServerKeys
HTTP request
request_uri
https://duendesoftware-test.azurewebsites.net/.well-known/openid-configuration/jwks
request_method
GET
request_headers
{
  "accept": "text/plain, application/json, application/cbor, application/*+json, */*",
  "content-length": "0"
}
request_body

                                
2021-02-01 13:46:25 RESPONSE
FetchServerKeys
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:25 GMT"
}
response_body
{"keys":[{"kty":"RSA","use":"sig","kid":"1A163E43C24AADAB2C36CBF732737841","e":"AQAB","n":"0unB1DCmuSCeXas-KBSyXz8pKlQnC2DLo0rVIuV-q38rcfCC5e6gdmZw-F1ww6lRtjdOoG2KokJS8IsWGq6PuatTv3awtAwi-NCRhn3LZNudvudh23jiVsTwiv2LCxAaQWYl8seu1YT4puAUboOrS1PaGpS0yByh2EoDTal2lovgF1KknsU6101rJkEpiKci3GEE_cGb-awgDlkG2Rq1ed1Vz6caM-hI8s4xNPPNb-O2jYl6FXyIZPE3ty2T27ulY8cLZghWtf_ampARGr2fGo0psY38l9ru0CyoECuK1sQbBIF-oHHWYyuLdVHsLRsz6DkUUk_WhgjtFzOs4Apg_w","alg":"RS256"}]}
2021-02-01 13:46:25
FetchServerKeys
Found JWK set string
jwk_string
{"keys":[{"kty":"RSA","use":"sig","kid":"1A163E43C24AADAB2C36CBF732737841","e":"AQAB","n":"0unB1DCmuSCeXas-KBSyXz8pKlQnC2DLo0rVIuV-q38rcfCC5e6gdmZw-F1ww6lRtjdOoG2KokJS8IsWGq6PuatTv3awtAwi-NCRhn3LZNudvudh23jiVsTwiv2LCxAaQWYl8seu1YT4puAUboOrS1PaGpS0yByh2EoDTal2lovgF1KknsU6101rJkEpiKci3GEE_cGb-awgDlkG2Rq1ed1Vz6caM-hI8s4xNPPNb-O2jYl6FXyIZPE3ty2T27ulY8cLZghWtf_ampARGr2fGo0psY38l9ru0CyoECuK1sQbBIF-oHHWYyuLdVHsLRsz6DkUUk_WhgjtFzOs4Apg_w","alg":"RS256"}]}
2021-02-01 13:46:25 SUCCESS
FetchServerKeys
Found server JWK set
server_jwks
{
  "keys": [
    {
      "kty": "RSA",
      "use": "sig",
      "kid": "1A163E43C24AADAB2C36CBF732737841",
      "e": "AQAB",
      "n": "0unB1DCmuSCeXas-KBSyXz8pKlQnC2DLo0rVIuV-q38rcfCC5e6gdmZw-F1ww6lRtjdOoG2KokJS8IsWGq6PuatTv3awtAwi-NCRhn3LZNudvudh23jiVsTwiv2LCxAaQWYl8seu1YT4puAUboOrS1PaGpS0yByh2EoDTal2lovgF1KknsU6101rJkEpiKci3GEE_cGb-awgDlkG2Rq1ed1Vz6caM-hI8s4xNPPNb-O2jYl6FXyIZPE3ty2T27ulY8cLZghWtf_ampARGr2fGo0psY38l9ru0CyoECuK1sQbBIF-oHHWYyuLdVHsLRsz6DkUUk_WhgjtFzOs4Apg_w",
      "alg": "RS256"
    }
  ]
}
2021-02-01 13:46:25 SUCCESS
CheckServerKeysIsValid
Server JWKs is valid
server_jwks
{
  "keys": [
    {
      "kty": "RSA",
      "use": "sig",
      "kid": "1A163E43C24AADAB2C36CBF732737841",
      "e": "AQAB",
      "n": "0unB1DCmuSCeXas-KBSyXz8pKlQnC2DLo0rVIuV-q38rcfCC5e6gdmZw-F1ww6lRtjdOoG2KokJS8IsWGq6PuatTv3awtAwi-NCRhn3LZNudvudh23jiVsTwiv2LCxAaQWYl8seu1YT4puAUboOrS1PaGpS0yByh2EoDTal2lovgF1KknsU6101rJkEpiKci3GEE_cGb-awgDlkG2Rq1ed1Vz6caM-hI8s4xNPPNb-O2jYl6FXyIZPE3ty2T27ulY8cLZghWtf_ampARGr2fGo0psY38l9ru0CyoECuK1sQbBIF-oHHWYyuLdVHsLRsz6DkUUk_WhgjtFzOs4Apg_w",
      "alg": "RS256"
    }
  ]
}
2021-02-01 13:46:25 SUCCESS
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
2021-02-01 13:46:25 SUCCESS
CheckForKeyIdInServerJWKs
All keys contain kids
2021-02-01 13:46:25 SUCCESS
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
see
https://bitbucket.org/openid/connect/issues/1127
2021-02-01 13:46:25 SUCCESS
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
2021-02-01 13:46:25 SUCCESS
GetStaticClientConfiguration
Found a static client object
client_id
basic
client_secret
secret
2021-02-01 13:46:25
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
scope
openid
2021-02-01 13:46:25 SUCCESS
EnsureServerConfigurationSupportsClientSecretBasic
Contents of 'token_endpoint_auth_methods_supported' in discovery document matches expectations.
actual
[
  "client_secret_basic",
  "client_secret_post"
]
expected
[
  "client_secret_basic"
]
minimum_matches_required
1
2021-02-01 13:46:25
SetScopeInClientConfigurationToOpenIdPhone
Set scope in client configuration to "openid phone"
scope
openid phone
2021-02-01 13:46:25 SUCCESS
OIDCCCheckScopesSupportedContainScopeTest
'scopes_supported' in discovery document contain expected scopes
actual
[
  "openid",
  "profile",
  "email",
  "address",
  "phone",
  "api",
  "offline_access"
]
expected
openid phone
2021-02-01 13:46:25 SUCCESS
SetProtectedResourceUrlToUserInfoEndpoint
userinfo_endpoint will be used to test access token. The user info is not a mandatory to implement feature in the OpenID Connect specification, but is mandatory for certification.
protected_resource_url
https://duendesoftware-test.azurewebsites.net/connect/userinfo
2021-02-01 13:46:25
oidcc-scope-phone
Setup Done
Make request to authorization endpoint
2021-02-01 13:46:25 SUCCESS
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
client_id
basic
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
scope
openid phone
2021-02-01 13:46:25
CreateRandomStateValue
Created state value
requested_state_length
10
state
GwhXYJi1c1
2021-02-01 13:46:25 SUCCESS
AddStateToAuthorizationEndpointRequest
Added state parameter to request
client_id
basic
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
scope
openid phone
state
GwhXYJi1c1
2021-02-01 13:46:25
CreateRandomNonceValue
Created nonce value
requested_nonce_length
10
nonce
cyn7AkqVO5
2021-02-01 13:46:25 SUCCESS
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
client_id
basic
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
scope
openid phone
state
GwhXYJi1c1
nonce
cyn7AkqVO5
2021-02-01 13:46:25 SUCCESS
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
client_id
basic
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
scope
openid phone
state
GwhXYJi1c1
nonce
cyn7AkqVO5
response_type
code
2021-02-01 13:46:25
SetAuthorizationEndpointRequestResponseModeToFormPost
Added response_mode parameter to request
client_id
basic
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
scope
openid phone
state
GwhXYJi1c1
nonce
cyn7AkqVO5
response_type
code
response_mode
form_post
2021-02-01 13:46:25 SUCCESS
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
redirect_to_authorization_endpoint
https://duendesoftware-test.azurewebsites.net/connect/authorize?client_id=basic&redirect_uri=https://www.certification.openid.net/test/a/duende_oidc/callback&scope=openid%20phone&state=GwhXYJi1c1&nonce=cyn7AkqVO5&response_type=code&response_mode=form_post
2021-02-01 13:46:25 REDIRECT
oidcc-scope-phone
Redirecting to authorization endpoint
redirect_to
https://duendesoftware-test.azurewebsites.net/connect/authorize?client_id=basic&redirect_uri=https://www.certification.openid.net/test/a/duende_oidc/callback&scope=openid%20phone&state=GwhXYJi1c1&nonce=cyn7AkqVO5&response_type=code&response_mode=form_post
2021-02-01 13:46:33 INCOMING
oidcc-scope-phone
Incoming HTTP request to test instance cgei6K2AKjGiIiE
incoming_headers
{
  "host": "www.certification.openid.net",
  "cache-control": "max-age\u003d0",
  "upgrade-insecure-requests": "1",
  "origin": "null",
  "content-type": "application/x-www-form-urlencoded",
  "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36",
  "accept": "text/html,application/xhtml+xml,application/xml;q\u003d0.9,image/avif,image/webp,image/apng,*/*;q\u003d0.8,application/signed-exchange;v\u003db3;q\u003d0.9",
  "sec-gpc": "1",
  "sec-fetch-site": "cross-site",
  "sec-fetch-mode": "navigate",
  "sec-fetch-dest": "document",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "en-GB,en-US;q\u003d0.9,en;q\u003d0.8",
  "cookie": "JSESSIONID\u003d7509A3E36CF90EF0E4482080507FC18B",
  "x-ssl-cipher": "ECDHE-RSA-AES128-GCM-SHA256",
  "x-ssl-protocol": "TLSv1.2",
  "content-length": "252",
  "x-forwarded-host": "www.certification.openid.net",
  "x-forwarded-server": "www.certification.openid.net",
  "connection": "close"
}
incoming_path
callback
incoming_body_form_params
{
  "code": "BC18B36F09B4AA577F646F837FE6CE150BE68ADEBFFBC7FC1688AF10F835206E",
  "scope": "openid phone",
  "state": "GwhXYJi1c1",
  "session_state": "IHX_0RSncRu6FhP8JgGUnKJtE1kzN3lw5DRDIvKHiaQ.1812AF97CA2F305F1E88441A9F11F92A",
  "iss": "https://duendesoftware-test.azurewebsites.net"
}
incoming_method
POST
incoming_body_json
incoming_query_string_params
{}
incoming_body
code=BC18B36F09B4AA577F646F837FE6CE150BE68ADEBFFBC7FC1688AF10F835206E&scope=openid+phone&state=GwhXYJi1c1&session_state=IHX_0RSncRu6FhP8JgGUnKJtE1kzN3lw5DRDIvKHiaQ.1812AF97CA2F305F1E88441A9F11F92A&iss=https%3A%2F%2Fduendesoftware-test.azurewebsites.net
2021-02-01 13:46:33 SUCCESS
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
implicit_submit
{
  "path": "implicit/gM8AYO4CMMccrGyiiIbZ",
  "fullUrl": "https://www.certification.openid.net/test/a/duende_oidc/implicit/gM8AYO4CMMccrGyiiIbZ"
}
2021-02-01 13:46:33 OUTGOING
oidcc-scope-phone
Response to HTTP request to test instance cgei6K2AKjGiIiE
outgoing
ModelAndView [view="implicitCallback"; model={implicitSubmitUrl=https://www.certification.openid.net/test/a/duende_oidc/implicit/gM8AYO4CMMccrGyiiIbZ, returnUrl=/log-detail.html?log=cgei6K2AKjGiIiE}]
outgoing_path
callback
2021-02-01 13:46:33 INCOMING
oidcc-scope-phone
Incoming HTTP request to test instance cgei6K2AKjGiIiE
incoming_headers
{
  "host": "www.certification.openid.net",
  "accept": "*/*",
  "x-requested-with": "XMLHttpRequest",
  "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36",
  "content-type": "text/plain",
  "sec-gpc": "1",
  "origin": "https://www.certification.openid.net",
  "sec-fetch-site": "same-origin",
  "sec-fetch-mode": "cors",
  "sec-fetch-dest": "empty",
  "referer": "https://www.certification.openid.net/test/a/duende_oidc/callback",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "en-GB,en-US;q\u003d0.9,en;q\u003d0.8",
  "cookie": "JSESSIONID\u003d7509A3E36CF90EF0E4482080507FC18B",
  "x-ssl-cipher": "ECDHE-RSA-AES128-GCM-SHA256",
  "x-ssl-protocol": "TLSv1.2",
  "content-length": "0",
  "x-forwarded-host": "www.certification.openid.net",
  "x-forwarded-server": "www.certification.openid.net",
  "connection": "close"
}
incoming_path
implicit/gM8AYO4CMMccrGyiiIbZ
incoming_body_form_params
incoming_method
POST
incoming_body_json
incoming_query_string_params
{}
incoming_body
2021-02-01 13:46:33 OUTGOING
oidcc-scope-phone
Response to HTTP request to test instance cgei6K2AKjGiIiE
outgoing_status_code
204
outgoing_headers
{}
outgoing_body

                                
outgoing_path
implicit/gM8AYO4CMMccrGyiiIbZ
2021-02-01 13:46:33 SUCCESS
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
2021-02-01 13:46:33 REDIRECT-IN
oidcc-scope-phone
Authorization endpoint response captured
url_query
{}
headers
{
  "host": "www.certification.openid.net",
  "cache-control": "max-age\u003d0",
  "upgrade-insecure-requests": "1",
  "origin": "null",
  "content-type": "application/x-www-form-urlencoded",
  "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36",
  "accept": "text/html,application/xhtml+xml,application/xml;q\u003d0.9,image/avif,image/webp,image/apng,*/*;q\u003d0.8,application/signed-exchange;v\u003db3;q\u003d0.9",
  "sec-gpc": "1",
  "sec-fetch-site": "cross-site",
  "sec-fetch-mode": "navigate",
  "sec-fetch-dest": "document",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "en-GB,en-US;q\u003d0.9,en;q\u003d0.8",
  "cookie": "JSESSIONID\u003d7509A3E36CF90EF0E4482080507FC18B",
  "x-ssl-cipher": "ECDHE-RSA-AES128-GCM-SHA256",
  "x-ssl-protocol": "TLSv1.2",
  "content-length": "252",
  "x-forwarded-host": "www.certification.openid.net",
  "x-forwarded-server": "www.certification.openid.net",
  "connection": "close"
}
http_method
POST
url_fragment
{}
post_body
{
  "code": "BC18B36F09B4AA577F646F837FE6CE150BE68ADEBFFBC7FC1688AF10F835206E",
  "scope": "openid phone",
  "state": "GwhXYJi1c1",
  "session_state": "IHX_0RSncRu6FhP8JgGUnKJtE1kzN3lw5DRDIvKHiaQ.1812AF97CA2F305F1E88441A9F11F92A",
  "iss": "https://duendesoftware-test.azurewebsites.net"
}
Verify authorization endpoint response
2021-02-01 13:46:33 SUCCESS
CheckCallbackHttpMethodIsPost
HTTP method used at redirect_uri is 'POST'
2021-02-01 13:46:33 SUCCESS
CheckCallbackContentTypeIsFormUrlEncoded
content-type header to redirect_uri has the expected value
content_type
application/x-www-form-urlencoded
expected
application/x-www-form-urlencoded
2021-02-01 13:46:33 SUCCESS
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
2021-02-01 13:46:33 SUCCESS
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
2021-02-01 13:46:33 SUCCESS
CheckMatchingCallbackParameters
Callback parameters successfully verified
2021-02-01 13:46:33 SUCCESS
ValidateIssInAuthorizationResponse
'iss' parameter in authorization response matches server's issuer value.
2021-02-01 13:46:33 SUCCESS
CheckIfAuthorizationEndpointError
No error from authorization endpoint
2021-02-01 13:46:33 SUCCESS
CheckStateInAuthorizationResponse
State in response correctly returned
state
GwhXYJi1c1
2021-02-01 13:46:33 SUCCESS
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
code
BC18B36F09B4AA577F646F837FE6CE150BE68ADEBFFBC7FC1688AF10F835206E
2021-02-01 13:46:33 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
grant_type
authorization_code
code
BC18B36F09B4AA577F646F837FE6CE150BE68ADEBFFBC7FC1688AF10F835206E
redirect_uri
https://www.certification.openid.net/test/a/duende_oidc/callback
2021-02-01 13:46:33 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic YmFzaWM6c2VjcmV0
2021-02-01 13:46:33
CallTokenEndpoint
HTTP request
request_uri
https://duendesoftware-test.azurewebsites.net/connect/token
request_method
POST
request_headers
{
  "accept": "application/json;charset\u003dUTF-8",
  "authorization": "Basic YmFzaWM6c2VjcmV0",
  "accept-charset": "utf-8",
  "content-type": "application/x-www-form-urlencoded;charset\u003dUTF-8",
  "content-length": "191"
}
request_body
grant_type=authorization_code&code=BC18B36F09B4AA577F646F837FE6CE150BE68ADEBFFBC7FC1688AF10F835206E&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fduende_oidc%2Fcallback
2021-02-01 13:46:33 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "cache-control": "no-store, no-cache, max-age\u003d0",
  "pragma": "no-cache",
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:33 GMT"
}
response_body
{"id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiSldUIn0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJuYmYiOjE2MTIxODcxOTMsImlhdCI6MTYxMjE4NzE5MywiZXhwIjoxNjEyMTg3NDkzLCJhdWQiOiJiYXNpYyIsImFtciI6WyJwd2QiXSwibm9u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oomqMS1Ze3__OPBrOdmo4Rpt7MOXINUjk_eBkYZkPivY_NVIrgRiGnJZg1z56YRgZKNaG3hSmymyy50iJaB0hEJs7H0XRjYoZg1Zyc1FLk4H4B4Q1N4ZbTJ_mWFpURphbyEcQbiVZrZjcMOWfQ-sv04Lwah9cFZuR6rJ9QO_OH36LXyDgcQI-XUtiAGTSSVN8wgb3aDo6cchRVMkT1zl4kwm7WarhrCUl3T36RQQT_HP45rXs0Gvj_Q2iHxxSiY1ahVfW6iQe_of-UXV2iUGwsCc6cyvPaqcIsyrwMmtNjSFMF1-HIsPww94QVH8ovOLMrWZCuw","expires_in":3600,"token_type":"Bearer","scope":"openid phone"}
2021-02-01 13:46:33
CallTokenEndpoint
Token endpoint response
token_endpoint_response
{"id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiSldUIn0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJuYmYiOjE2MTIxODcxOTMsImlhdCI6MTYxMjE4NzE5MywiZXhwIjoxNjEyMTg3NDkzLCJhdWQiOiJiYXNpYyIsImFtciI6WyJwd2QiXSwibm9uY2UiOiJjeW43QWtxVk81IiwiYXRfaGFzaCI6IlMzN0JVblhpMXhiTnI3ZzhiUWhzbHciLCJzaWQiOiI2REY4QjBEMjBENUI0RDY0RDRCQkQyMjc3RUM5NjM3QiIsInN1YiI6Ijg4NDIxMTEzIiwiYXV0aF90aW1lIjoxNjEyMTg2OTk4LCJpZHAiOiJsb2NhbCJ9.FM8LY9IZsy46DLEXCatQ1EihGcrnvPN8tslcMrNTQd2SvNNCY01Bc4mB8yH8xQTtRjY-opiMGMKkQWDk0u2bFpmeqDEUwfR_PN6BCNciOdSZZmc3BpVAsrEjyLXbRBOpz1xnseImz96Ldu2j1mf45UHMtNTRXp9wcPSkasgbhkb-5nzvd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NzE5MywiZXhwIjoxNjEyMTkwNzkzLCJzY29wZSI6WyJvcGVuaWQiLCJwaG9uZSJdLCJhbXIiOlsicHdkIl0sImNsaWVudF9pZCI6ImJhc2ljIiwic3ViIjoiODg0MjExMTMiLCJhdXRoX3RpbWUiOjE2MTIxODY5OTgsImlkcCI6ImxvY2FsIiwic2lkIjoiNkRGOEIwRDIwRDVCNEQ2NEQ0QkJEMjI3N0VDOTYzN0IiLCJqdGkiOiIyOUVBNzNFRkJBQzI2NzAyOTFEOTk5NTQyMDE1Q0QyMiJ9.e_MQPKeC6WhJr5YoomqMS1Ze3__OPBrOdmo4Rpt7MOXINUjk_eBkYZkPivY_NVIrgRiGnJZg1z56YRgZKNaG3hSmymyy50iJaB0hEJs7H0XRjYoZg1Zyc1FLk4H4B4Q1N4ZbTJ_mWFpURphbyEcQbiVZrZjcMOWfQ-sv04Lwah9cFZuR6rJ9QO_OH36LXyDgcQI-XUtiAGTSSVN8wgb3aDo6cchRVMkT1zl4kwm7WarhrCUl3T36RQQT_HP45rXs0Gvj_Q2iHxxSiY1ahVfW6iQe_of-UXV2iUGwsCc6cyvPaqcIsyrwMmtNjSFMF1-HIsPww94QVH8ovOLMrWZCuw
expires_in
3600
token_type
Bearer
scope
openid phone
2021-02-01 13:46:33 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2021-02-01 13:46:33 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiYXQrand0In0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJuYmYiOjE2MTIxODcxOTMsImlhdCI6MTYxMjE4NzE5MywiZXhwIjoxNjEyMTkwNzkzLCJzY29wZSI6WyJvcGVuaWQiLCJwaG9uZSJdLCJhbXIiOlsicHdkIl0sImNsaWVudF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NzNFRkJBQzI2NzAyOTFEOTk5NTQyMDE1Q0QyMiJ9.e_MQPKeC6WhJr5YoomqMS1Ze3__OPBrOdmo4Rpt7MOXINUjk_eBkYZkPivY_NVIrgRiGnJZg1z56YRgZKNaG3hSmymyy50iJaB0hEJs7H0XRjYoZg1Zyc1FLk4H4B4Q1N4ZbTJ_mWFpURphbyEcQbiVZrZjcMOWfQ-sv04Lwah9cFZuR6rJ9QO_OH36LXyDgcQI-XUtiAGTSSVN8wgb3aDo6cchRVMkT1zl4kwm7WarhrCUl3T36RQQT_HP45rXs0Gvj_Q2iHxxSiY1ahVfW6iQe_of-UXV2iUGwsCc6cyvPaqcIsyrwMmtNjSFMF1-HIsPww94QVH8ovOLMrWZCuw
type
Bearer
2021-02-01 13:46:33 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
3600
2021-02-01 13:46:33 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
3600
2021-02-01 13:46:33 INFO
CheckForRefreshTokenValue
Couldn't find refresh token
2021-02-01 13:46:33 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiSldUIn0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJuYmYiOjE2MTIxODcxOTMsImlhdCI6MTYxMjE4NzE5MywiZXhwIjoxNjEyMTg3NDkzLCJhdWQiOiJiYXNpYyIsImFtciI6WyJwd2QiXSwibm9uY2UiOiJjeW43QWtxVk81IiwiYXRfaGFzaCI6IlMzN0JVblhpMXhiTnI3ZzhiUWhzbHciLCJzaWQiOiI2REY4QjBEMjBENUI0RDY0RDRCQkQyMjc3RUM5NjM3QiIsInN1YiI6Ijg4NDIxMTEzIiwiYXV0aF90aW1lIjoxNjEyMTg2OTk4LCJpZHAiOiJsb2NhbCJ9.FM8LY9IZsy46DLEXCatQ1EihGcrnvPN8tslcMrNTQd2SvNNCY01Bc4mB8yH8xQTtRjY-opiMGMKkQWDk0u2bFpmeqDEUwfR_PN6BCNciOdSZZmc3BpVAsrEjyLXbRBOpz1xnseImz96Ldu2j1mf45UHMtNTRXp9wcPSkasgbhkb-5nzvdrLc2BzpEZgO43yR-G88OVxBrpsw3W5pDURE4-bTq0yC89RTd0Fduv7iEITD2I_oNMiLnPMZBJ9vZdG9N76oFZst1y2e105D5g_qpcGPb-Q5ecgj7KiQuVq5XYGIPhOm4zvK-5GDUn11UblSwPG9V9Yf6QMkQjjLc_YofQ
header
{
  "kid": "1A163E43C24AADAB2C36CBF732737841",
  "typ": "JWT",
  "alg": "RS256"
}
claims
{
  "at_hash": "S37BUnXi1xbNr7g8bQhslw",
  "aud": "basic",
  "sub": "88421113",
  "nbf": 1612187193,
  "idp": "local",
  "amr": [
    "pwd"
  ],
  "auth_time": 1612186998,
  "iss": "https://duendesoftware-test.azurewebsites.net",
  "exp": 1612187493,
  "iat": 1612187193,
  "nonce": "cyn7AkqVO5",
  "sid": "6DF8B0D20D5B4D64D4BBD2277EC9637B"
}
2021-02-01 13:46:33 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2021-02-01 13:46:33 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
cyn7AkqVO5
2021-02-01 13:46:33 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2021-02-01 13:46:33 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiSldUIn0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiL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MjBENUI0RDY0RDRCQkQyMjc3RUM5NjM3QiIsInN1YiI6Ijg4NDIxMTEzIiwiYXV0aF90aW1lIjoxNjEyMTg2OTk4LCJpZHAiOiJsb2NhbCJ9.FM8LY9IZsy46DLEXCatQ1EihGcrnvPN8tslcMrNTQd2SvNNCY01Bc4mB8yH8xQTtRjY-opiMGMKkQWDk0u2bFpmeqDEUwfR_PN6BCNciOdSZZmc3BpVAsrEjyLXbRBOpz1xnseImz96Ldu2j1mf45UHMtNTRXp9wcPSkasgbhkb-5nzvdrLc2BzpEZgO43yR-G88OVxBrpsw3W5pDURE4-bTq0yC89RTd0Fduv7iEITD2I_oNMiLnPMZBJ9vZdG9N76oFZst1y2e105D5g_qpcGPb-Q5ecgj7KiQuVq5XYGIPhOm4zvK-5GDUn11UblSwPG9V9Yf6QMkQjjLc_YofQ
2021-02-01 13:46:33 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
88421113
Userinfo endpoint tests
2021-02-01 13:46:33
CallProtectedResourceWithBearerToken
HTTP request
request_uri
https://duendesoftware-test.azurewebsites.net/connect/userinfo
request_method
GET
request_headers
{
  "accept": "application/json;charset\u003dUTF-8",
  "authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiYXQrand0In0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJuYmYiOjE2MTIxODcxOTMsImlhdCI6MTYxMjE4NzE5MywiZXhwIjoxNjEyMTkwNzkzLCJzY29wZSI6WyJvcGVuaWQiLCJwaG9uZSJdLCJhbXIiOlsicHdkIl0sImNsaWVudF9pZCI6ImJhc2ljIiwic3ViIjoiODg0MjExMTMiLCJhdXRoX3RpbWUiOjE2MTIxODY5OTgsImlkcCI6ImxvY2FsIiwic2lkIjoiNkRGOEIwRDIwRDVCNEQ2NEQ0QkJEMjI3N0VDOTYzN0IiLCJqdGkiOiIyOUVBNzNFRkJBQzI2NzAyOTFEOTk5NTQyMDE1Q0QyMiJ9.e_MQPKeC6WhJr5YoomqMS1Ze3__OPBrOdmo4Rpt7MOXINUjk_eBkYZkPivY_NVIrgRiGnJZg1z56YRgZKNaG3hSmymyy50iJaB0hEJs7H0XRjYoZg1Zyc1FLk4H4B4Q1N4ZbTJ_mWFpURphbyEcQbiVZrZjcMOWfQ-sv04Lwah9cFZuR6rJ9QO_OH36LXyDgcQI-XUtiAGTSSVN8wgb3aDo6cchRVMkT1zl4kwm7WarhrCUl3T36RQQT_HP45rXs0Gvj_Q2iHxxSiY1ahVfW6iQe_of-UXV2iUGwsCc6cyvPaqcIsyrwMmtNjSFMF1-HIsPww94QVH8ovOLMrWZCuw",
  "accept-charset": "utf-8",
  "content-length": "0"
}
request_body

                                
2021-02-01 13:46:33 RESPONSE
CallProtectedResourceWithBearerToken
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "cache-control": "no-store, no-cache, max-age\u003d0",
  "pragma": "no-cache",
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:33 GMT"
}
response_body
{"phone_number":"123","phone_number_verified":true,"sub":"88421113"}
2021-02-01 13:46:33 SUCCESS
CallProtectedResourceWithBearerToken
Got a response from the resource endpoint
headers
{
  "cache-control": "no-store, no-cache, max-age\u003d0",
  "pragma": "no-cache",
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:33 GMT"
}
status_code
{
  "code": 200
}
body
{"phone_number":"123","phone_number_verified":true,"sub":"88421113"}
2021-02-01 13:46:33
CallUserInfoEndpointWithBearerToken
HTTP request
request_uri
https://duendesoftware-test.azurewebsites.net/connect/userinfo
request_method
GET
request_headers
{
  "accept": "application/json;charset\u003dUTF-8",
  "authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjFBMTYzRTQzQzI0QUFEQUIyQzM2Q0JGNzMyNzM3ODQxIiwidHlwIjoiYXQrand0In0.eyJpc3MiOiJodHRwczovL2R1ZW5kZXNvZnR3YXJlLXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJuYmYiOjE2MTIxODcxOTMsImlhdCI6MTYxMjE4NzE5MywiZXhwIjoxNjEyMTkwNzkzLCJzY29wZSI6WyJvcGVuaWQiLCJwaG9uZSJdLCJhbXIiOlsicHdkIl0sImNsaWVudF9pZCI6ImJhc2ljIiwic3ViIjoiODg0MjExMTMiLCJhdXRoX3RpbWUiOjE2MTIxODY5OTgsImlkcCI6ImxvY2FsIiwic2lkIjoiNkRGOEIwRDIwRDVCNEQ2NEQ0QkJEMjI3N0VDOTYzN0IiLCJqdGkiOiIyOUVBNzNFRkJBQzI2NzAyOTFEOTk5NTQyMDE1Q0QyMiJ9.e_MQPKeC6WhJr5YoomqMS1Ze3__OPBrOdmo4Rpt7MOXINUjk_eBkYZkPivY_NVIrgRiGnJZg1z56YRgZKNaG3hSmymyy50iJaB0hEJs7H0XRjYoZg1Zyc1FLk4H4B4Q1N4ZbTJ_mWFpURphbyEcQbiVZrZjcMOWfQ-sv04Lwah9cFZuR6rJ9QO_OH36LXyDgcQI-XUtiAGTSSVN8wgb3aDo6cchRVMkT1zl4kwm7WarhrCUl3T36RQQT_HP45rXs0Gvj_Q2iHxxSiY1ahVfW6iQe_of-UXV2iUGwsCc6cyvPaqcIsyrwMmtNjSFMF1-HIsPww94QVH8ovOLMrWZCuw",
  "accept-charset": "utf-8",
  "content-length": "0"
}
request_body

                                
2021-02-01 13:46:33 RESPONSE
CallUserInfoEndpointWithBearerToken
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "cache-control": "no-store, no-cache, max-age\u003d0",
  "pragma": "no-cache",
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:33 GMT"
}
response_body
{"phone_number":"123","phone_number_verified":true,"sub":"88421113"}
2021-02-01 13:46:33 SUCCESS
CallUserInfoEndpointWithBearerToken
Got a response from the userinfo endpoint
headers
{
  "cache-control": "no-store, no-cache, max-age\u003d0",
  "pragma": "no-cache",
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset\u003dUTF-8",
  "server": "Kestrel",
  "date": "Mon, 01 Feb 2021 13:46:33 GMT"
}
status_code
{
  "code": 200
}
body
{"phone_number":"123","phone_number_verified":true,"sub":"88421113"}
2021-02-01 13:46:33 SUCCESS
ExtractUserInfoFromUserInfoEndpointResponse
Extracted user info
userinfo
{
  "phone_number": "123",
  "phone_number_verified": true,
  "sub": "88421113"
}
2021-02-01 13:46:33
ValidateUserInfoStandardClaims
phone_number is a string
2021-02-01 13:46:33
ValidateUserInfoStandardClaims
phone_number_verified is a boolean
2021-02-01 13:46:33
ValidateUserInfoStandardClaims
sub is a string
2021-02-01 13:46:33 SUCCESS
ValidateUserInfoStandardClaims
Userinfo is valid
2021-02-01 13:46:33 SUCCESS
EnsureUserInfoContainsSub
Found sub in userinfo
sub
88421113
2021-02-01 13:46:33
EnsureUserInfoBirthDateValid
userinfo response does not contain 'birthdate'
2021-02-01 13:46:33
EnsureUserInfoUpdatedAtValid
userinfo response does not contain 'updated_at'
2021-02-01 13:46:33
EnsureMemberValuesInClaimNameReferenceToMemberNamesInClaimSources
userinfo response does not contain '_claim_names' nor _claim_sources'
2021-02-01 13:46:33 SUCCESS
VerifyUserInfoAndIdTokenInTokenEndpointSameSub
userinfo response and id_token sub are the same
sub_user_info
88421113
sub_id_token
88421113
2021-02-01 13:46:33 SUCCESS
VerifyScopesReturnedInUserInfoClaims
'claims' in userinfo contains all scope items of scope in authorization request (corresponds to scope standard claims)
actual_scope_items
[
  "phone_number",
  "phone_number_verified",
  "sub"
]
expected_scope_items
[
  "sub",
  "phone_number",
  "phone_number_verified"
]
2021-02-01 13:46:33 FINISHED
oidcc-scope-phone
Test has run to completion
testmodule_result
PASSED
Unregister dynamically registered client
2021-02-01 13:46:33 INFO
UnregisterDynamicallyRegisteredClient
Skipped evaluation due to missing required string: registration_client_uri
expected
registration_client_uri
2021-02-01 13:46:40
TEST-RUNNER
Alias has now been claimed by another test
alias
duende_oidc
new_test_id
TObLubiFJqRfPvF
Test Results