Test Summary

Test Results

Expand All Collapse All
All times are UTC
2022-05-07 10:01:55 INFO
TEST-RUNNER
Test instance u86WLkUvahlHjiH created
baseUrl
https://www.certification.openid.net/test/a/boruta_example
variant
{
  "client_auth_type": "client_secret_basic",
  "response_type": "code token",
  "server_metadata": "static",
  "response_mode": "default",
  "client_registration": "static_client"
}
alias
boruta_example
description
Application integrating boruta package
planId
7Ta9iyup747KZ
config
{
  "alias": "boruta_example",
  "server": {
    "issuer": "https://oauth.example.boruta.patatoid.fr",
    "authorization_endpoint": "https://oauth.example.boruta.patatoid.fr/openid/authorize",
    "token_endpoint": "https://oauth.example.boruta.patatoid.fr/oauth/token",
    "jwks_uri": "https://oauth.example.boruta.patatoid.fr/openid/jwks",
    "userinfo_endpoint": "https://oauth.example.boruta.patatoid.fr/openid/userinfo"
  },
  "client": {
    "client_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
    "client_secret": "guFbXb5fRePaCfTtAsKTPa3uPnC42A4XkbyNQSDe8LAh4pN6QIi0C3J5avDIN2Ry432srhfmVJuvbQQC0Qz6SN"
  },
  "client2": {
    "client_id": "4b6d0564-f448-4ded-9bd9-15851142e6a8",
    "client_secret": "7lbVBfh6HFLeIvhnsgtJ28odHHF862P2Age8smt56eUCgAiJOo9r3o5lIlymiAdId8v4z6ojGQOR2fohiWscMG"
  },
  "client_secret_post": {
    "client_id": "4b6d0564-f448-4ded-9bd9-15851142e6a8",
    "client_secret": "7lbVBfh6HFLeIvhnsgtJ28odHHF862P2Age8smt56eUCgAiJOo9r3o5lIlymiAdId8v4z6ojGQOR2fohiWscMG"
  },
  "description": "Application integrating boruta package"
}
testName
oidcc-userinfo-post-body
2022-05-07 10:01:55 SUCCESS
CreateRedirectUri
Created redirect URI
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 10:01:55 SUCCESS
GetStaticServerConfiguration
Found a static server object
issuer
https://oauth.example.boruta.patatoid.fr
authorization_endpoint
https://oauth.example.boruta.patatoid.fr/openid/authorize
token_endpoint
https://oauth.example.boruta.patatoid.fr/oauth/token
jwks_uri
https://oauth.example.boruta.patatoid.fr/openid/jwks
userinfo_endpoint
https://oauth.example.boruta.patatoid.fr/openid/userinfo
2022-05-07 10:01:55 SUCCESS
CheckServerConfiguration
Found required server configuration keys
required
[
  "authorization_endpoint",
  "token_endpoint",
  "issuer"
]
2022-05-07 10:01:55 SUCCESS
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
registration_endpoint
authorization_endpoint
{
  "testHost": "oauth.example.boruta.patatoid.fr",
  "testPort": 443
}
token_endpoint
{
  "testHost": "oauth.example.boruta.patatoid.fr",
  "testPort": 443
}
userinfo_endpoint
{
  "testHost": "oauth.example.boruta.patatoid.fr",
  "testPort": 443
}
2022-05-07 10:01:55
FetchServerKeys
Fetching server key
jwks_uri
https://oauth.example.boruta.patatoid.fr/openid/jwks
2022-05-07 10:01:55
FetchServerKeys
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/jwks
request_method
GET
request_headers
{
  "accept": "text/plain, application/json, application/*+json, */*",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:01:55 RESPONSE
FetchServerKeys
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:01:55 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "506",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "2599ed876fdd659756f50705cf60e754",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"keys":[{"e":"AQAB","kid":"6a2f41a3-c54c-fce8-32d2-0324e1c32e20","kty":"RSA","n":"pG5AYZcnrHY_i0Le55eVT-j2LWg2fKTgzlsiXfjEeujjRv8B2RmRTr3cz_7E17nxrugcC_TXKdL0V2i5nBGYcqGKxgV3bScsxcI4fxAalR1ZLS7Tt6g3WTH4G5QZCmJ9G8Mi27JlA6etw4ensZcZEL67yymfEhzhrK2nVDhfwQc"},{"e":"AQAB","kid":"4b6d0564-f448-4ded-9bd9-15851142e6a8","kty":"RSA","n":"w8IVnnv1mFlHAieNcqhQ4jzSUNWX2sQHhQgFylhHMgzk6Zs7dmucyIZHriL_YDMDUpTP9WJ0JnuUJDvzCBUZpglwoU4aqoiMKnz_BZhXrFZtUHBTB13f41YPrbVCYIMUYqMigjnzCvvWqqOSEE6hHF9acdqOzQo1kaLCVB262TU"}]}
2022-05-07 10:01:55
FetchServerKeys
Found JWK set string
jwk_string
{"keys":[{"e":"AQAB","kid":"6a2f41a3-c54c-fce8-32d2-0324e1c32e20","kty":"RSA","n":"pG5AYZcnrHY_i0Le55eVT-j2LWg2fKTgzlsiXfjEeujjRv8B2RmRTr3cz_7E17nxrugcC_TXKdL0V2i5nBGYcqGKxgV3bScsxcI4fxAalR1ZLS7Tt6g3WTH4G5QZCmJ9G8Mi27JlA6etw4ensZcZEL67yymfEhzhrK2nVDhfwQc"},{"e":"AQAB","kid":"4b6d0564-f448-4ded-9bd9-15851142e6a8","kty":"RSA","n":"w8IVnnv1mFlHAieNcqhQ4jzSUNWX2sQHhQgFylhHMgzk6Zs7dmucyIZHriL_YDMDUpTP9WJ0JnuUJDvzCBUZpglwoU4aqoiMKnz_BZhXrFZtUHBTB13f41YPrbVCYIMUYqMigjnzCvvWqqOSEE6hHF9acdqOzQo1kaLCVB262TU"}]}
2022-05-07 10:01:55 SUCCESS
FetchServerKeys
Found server JWK set
server_jwks
{
  "keys": [
    {
      "e": "AQAB",
      "kid": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
      "kty": "RSA",
      "n": "pG5AYZcnrHY_i0Le55eVT-j2LWg2fKTgzlsiXfjEeujjRv8B2RmRTr3cz_7E17nxrugcC_TXKdL0V2i5nBGYcqGKxgV3bScsxcI4fxAalR1ZLS7Tt6g3WTH4G5QZCmJ9G8Mi27JlA6etw4ensZcZEL67yymfEhzhrK2nVDhfwQc"
    },
    {
      "e": "AQAB",
      "kid": "4b6d0564-f448-4ded-9bd9-15851142e6a8",
      "kty": "RSA",
      "n": "w8IVnnv1mFlHAieNcqhQ4jzSUNWX2sQHhQgFylhHMgzk6Zs7dmucyIZHriL_YDMDUpTP9WJ0JnuUJDvzCBUZpglwoU4aqoiMKnz_BZhXrFZtUHBTB13f41YPrbVCYIMUYqMigjnzCvvWqqOSEE6hHF9acdqOzQo1kaLCVB262TU"
    }
  ]
}
2022-05-07 10:01:55 SUCCESS
CheckServerKeysIsValid
Server JWKs is valid
server_jwks
{
  "keys": [
    {
      "e": "AQAB",
      "kid": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
      "kty": "RSA",
      "n": "pG5AYZcnrHY_i0Le55eVT-j2LWg2fKTgzlsiXfjEeujjRv8B2RmRTr3cz_7E17nxrugcC_TXKdL0V2i5nBGYcqGKxgV3bScsxcI4fxAalR1ZLS7Tt6g3WTH4G5QZCmJ9G8Mi27JlA6etw4ensZcZEL67yymfEhzhrK2nVDhfwQc"
    },
    {
      "e": "AQAB",
      "kid": "4b6d0564-f448-4ded-9bd9-15851142e6a8",
      "kty": "RSA",
      "n": "w8IVnnv1mFlHAieNcqhQ4jzSUNWX2sQHhQgFylhHMgzk6Zs7dmucyIZHriL_YDMDUpTP9WJ0JnuUJDvzCBUZpglwoU4aqoiMKnz_BZhXrFZtUHBTB13f41YPrbVCYIMUYqMigjnzCvvWqqOSEE6hHF9acdqOzQo1kaLCVB262TU"
    }
  ]
}
2022-05-07 10:01:55 SUCCESS
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
2022-05-07 10:01:55 SUCCESS
CheckForKeyIdInServerJWKs
All keys contain kids
2022-05-07 10:01:55 SUCCESS
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
see
https://bitbucket.org/openid/connect/issues/1127
2022-05-07 10:01:55 SUCCESS
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
2022-05-07 10:01:55 SUCCESS
GetStaticClientConfiguration
Found a static client object
client_id
6a2f41a3-c54c-fce8-32d2-0324e1c32e20
client_secret
guFbXb5fRePaCfTtAsKTPa3uPnC42A4XkbyNQSDe8LAh4pN6QIi0C3J5avDIN2Ry432srhfmVJuvbQQC0Qz6SN
2022-05-07 10:01:55 INFO
ValidateClientJWKsPrivatePart
Skipped evaluation due to missing required element: client jwks
path
jwks
mapped
object
client
2022-05-07 10:01:55 INFO
ExtractJWKsFromStaticClientConfiguration
Skipped evaluation due to missing required element: client jwks
path
jwks
mapped
object
client
2022-05-07 10:01:55 INFO
CheckDistinctKeyIdValueInClientJWKs
Skipped evaluation due to missing required element: client jwks
path
jwks
mapped
object
client
2022-05-07 10:01:55
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
scope
openid
2022-05-07 10:01:55 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://oauth.example.boruta.patatoid.fr/openid/userinfo
2022-05-07 10:01:55
oidcc-userinfo-post-body
Setup Done
Make request to authorization endpoint
2022-05-07 10:01:55 SUCCESS
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
client_id
6a2f41a3-c54c-fce8-32d2-0324e1c32e20
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid
2022-05-07 10:01:55
CreateRandomStateValue
Created state value
requested_state_length
10
state
ElEzcrM8Oa
2022-05-07 10:01:55 SUCCESS
AddStateToAuthorizationEndpointRequest
Added state parameter to request
client_id
6a2f41a3-c54c-fce8-32d2-0324e1c32e20
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid
state
ElEzcrM8Oa
2022-05-07 10:01:55
CreateRandomNonceValue
Created nonce value
requested_nonce_length
10
nonce
c7Dt8XgHKk
2022-05-07 10:01:55 SUCCESS
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
client_id
6a2f41a3-c54c-fce8-32d2-0324e1c32e20
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid
state
ElEzcrM8Oa
nonce
c7Dt8XgHKk
2022-05-07 10:01:55 SUCCESS
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
client_id
6a2f41a3-c54c-fce8-32d2-0324e1c32e20
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid
state
ElEzcrM8Oa
nonce
c7Dt8XgHKk
response_type
code token
2022-05-07 10:01:55 SUCCESS
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
auth_request
{
  "client_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
  "redirect_uri": "https://www.certification.openid.net/test/a/boruta_example/callback",
  "scope": "openid",
  "state": "ElEzcrM8Oa",
  "nonce": "c7Dt8XgHKk",
  "response_type": "code token"
}
redirect_to_authorization_endpoint
https://oauth.example.boruta.patatoid.fr/openid/authorize?client_id=6a2f41a3-c54c-fce8-32d2-0324e1c32e20&redirect_uri=https://www.certification.openid.net/test/a/boruta_example/callback&scope=openid&state=ElEzcrM8Oa&nonce=c7Dt8XgHKk&response_type=code%20token
2022-05-07 10:01:55 REDIRECT
oidcc-userinfo-post-body
Redirecting to authorization endpoint
redirect_to
https://oauth.example.boruta.patatoid.fr/openid/authorize?client_id=6a2f41a3-c54c-fce8-32d2-0324e1c32e20&redirect_uri=https://www.certification.openid.net/test/a/boruta_example/callback&scope=openid&state=ElEzcrM8Oa&nonce=c7Dt8XgHKk&response_type=code%20token
2022-05-07 10:01:57 INCOMING
oidcc-userinfo-post-body
Incoming HTTP request to /test/a/boruta_example/callback
incoming_headers
{
  "host": "www.certification.openid.net",
  "upgrade-insecure-requests": "1",
  "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 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-fetch-site": "cross-site",
  "sec-fetch-mode": "navigate",
  "sec-fetch-user": "?1",
  "sec-fetch-dest": "document",
  "sec-ch-ua": "\" Not A;Brand\";v\u003d\"99\", \"Chromium\";v\u003d\"100\", \"Google Chrome\";v\u003d\"100\"",
  "sec-ch-ua-mobile": "?0",
  "sec-ch-ua-platform": "\"Linux\"",
  "referer": "https://www.certification.openid.net/",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "fr-FR,fr;q\u003d0.9,en-US;q\u003d0.8,en;q\u003d0.7",
  "cookie": "_ga\u003dGA1.2.778395840.1613676626; __utmc\u003d201319536; __utma\u003d201319536.778395840.1613676626.1651424874.1651434144.41; __utmz\u003d201319536.1651434144.41.21.utmcsr\u003delixirforum.com|utmccn\u003d(referral)|utmcmd\u003dreferral|utmcct\u003d/; JSESSIONID\u003dBFCC8FEC2960EFCA20047BD5A1D496D1",
  "connection": "close"
}
incoming_path
/test/a/boruta_example/callback
incoming_body_form_params
incoming_method
GET
incoming_tls_version
TLSv1.2
incoming_tls_cipher
ECDHE-RSA-AES128-GCM-SHA256
incoming_tls_cert
incoming_body_json
incoming_query_string_params
{}
incoming_body
2022-05-07 10:01:57 SUCCESS
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
implicit_submit
{
  "path": "implicit/wGuOglaviGnSQCsyYtgG",
  "fullUrl": "https://www.certification.openid.net/test/a/boruta_example/implicit/wGuOglaviGnSQCsyYtgG"
}
2022-05-07 10:01:57 OUTGOING
oidcc-userinfo-post-body
Response to HTTP request to test instance u86WLkUvahlHjiH
outgoing
ModelAndView [view="implicitCallback"; model={implicitSubmitUrl=https://www.certification.openid.net/test/a/boruta_example/implicit/wGuOglaviGnSQCsyYtgG, returnUrl=/log-detail.html?log=u86WLkUvahlHjiH}]
outgoing_path
callback
2022-05-07 10:01:58 INCOMING
oidcc-userinfo-post-body
Incoming HTTP request to /test/a/boruta_example/implicit/wGuOglaviGnSQCsyYtgG
incoming_headers
{
  "host": "www.certification.openid.net",
  "sec-ch-ua": "\" Not A;Brand\";v\u003d\"99\", \"Chromium\";v\u003d\"100\", \"Google Chrome\";v\u003d\"100\"",
  "accept": "*/*",
  "content-type": "text/plain",
  "x-requested-with": "XMLHttpRequest",
  "sec-ch-ua-mobile": "?0",
  "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36",
  "sec-ch-ua-platform": "\"Linux\"",
  "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/boruta_example/callback",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "fr-FR,fr;q\u003d0.9,en-US;q\u003d0.8,en;q\u003d0.7",
  "cookie": "_ga\u003dGA1.2.778395840.1613676626; __utmc\u003d201319536; __utma\u003d201319536.778395840.1613676626.1651424874.1651434144.41; __utmz\u003d201319536.1651434144.41.21.utmcsr\u003delixirforum.com|utmccn\u003d(referral)|utmcmd\u003dreferral|utmcct\u003d/; JSESSIONID\u003dBFCC8FEC2960EFCA20047BD5A1D496D1",
  "connection": "close",
  "content-length": "241"
}
incoming_path
/test/a/boruta_example/implicit/wGuOglaviGnSQCsyYtgG
incoming_body_form_params
incoming_method
POST
incoming_tls_version
TLSv1.2
incoming_tls_cipher
ECDHE-RSA-AES128-GCM-SHA256
incoming_tls_cert
incoming_body_json
incoming_query_string_params
{}
incoming_body
#access_token=7jqz6AoTsllSRHvIWEaKlanG0UfA7nuKtRJIy5ZIA4BdQRAMVydMmd0WUKUl4GDGsNega5ktCQIKGmK0yQfAsk&code=RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I&expires_in=60&state=ElEzcrM8Oa&token_type=bearer
2022-05-07 10:01:58 OUTGOING
oidcc-userinfo-post-body
Response to HTTP request to test instance u86WLkUvahlHjiH
outgoing_status_code
204
outgoing_headers
{}
outgoing_body

                                
outgoing_path
implicit/wGuOglaviGnSQCsyYtgG
2022-05-07 10:01:58
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
parameters
[
  {
    "name": "access_token",
    "value": "7jqz6AoTsllSRHvIWEaKlanG0UfA7nuKtRJIy5ZIA4BdQRAMVydMmd0WUKUl4GDGsNega5ktCQIKGmK0yQfAsk"
  },
  {
    "name": "code",
    "value": "RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I"
  },
  {
    "name": "expires_in",
    "value": "60"
  },
  {
    "name": "state",
    "value": "ElEzcrM8Oa"
  },
  {
    "name": "token_type",
    "value": "bearer"
  }
]
2022-05-07 10:01:58 SUCCESS
ExtractImplicitHashToCallbackResponse
Extracted the hash values
access_token
7jqz6AoTsllSRHvIWEaKlanG0UfA7nuKtRJIy5ZIA4BdQRAMVydMmd0WUKUl4GDGsNega5ktCQIKGmK0yQfAsk
code
RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I
expires_in
60
state
ElEzcrM8Oa
token_type
bearer
2022-05-07 10:01:58 REDIRECT-IN
oidcc-userinfo-post-body
Authorization endpoint response captured
url_query
{}
headers
{
  "host": "www.certification.openid.net",
  "upgrade-insecure-requests": "1",
  "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 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-fetch-site": "cross-site",
  "sec-fetch-mode": "navigate",
  "sec-fetch-user": "?1",
  "sec-fetch-dest": "document",
  "sec-ch-ua": "\" Not A;Brand\";v\u003d\"99\", \"Chromium\";v\u003d\"100\", \"Google Chrome\";v\u003d\"100\"",
  "sec-ch-ua-mobile": "?0",
  "sec-ch-ua-platform": "\"Linux\"",
  "referer": "https://www.certification.openid.net/",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "fr-FR,fr;q\u003d0.9,en-US;q\u003d0.8,en;q\u003d0.7",
  "cookie": "_ga\u003dGA1.2.778395840.1613676626; __utmc\u003d201319536; __utma\u003d201319536.778395840.1613676626.1651424874.1651434144.41; __utmz\u003d201319536.1651434144.41.21.utmcsr\u003delixirforum.com|utmccn\u003d(referral)|utmcmd\u003dreferral|utmcct\u003d/; JSESSIONID\u003dBFCC8FEC2960EFCA20047BD5A1D496D1",
  "x-ssl-cipher": "ECDHE-RSA-AES128-GCM-SHA256",
  "x-ssl-protocol": "TLSv1.2",
  "x-forwarded-proto": "https",
  "x-forwarded-port": "443",
  "connection": "close",
  "x-forwarded-host": "www.certification.openid.net",
  "x-forwarded-server": "www.certification.openid.net"
}
http_method
GET
url_fragment
{
  "access_token": "7jqz6AoTsllSRHvIWEaKlanG0UfA7nuKtRJIy5ZIA4BdQRAMVydMmd0WUKUl4GDGsNega5ktCQIKGmK0yQfAsk",
  "code": "RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I",
  "expires_in": "60",
  "state": "ElEzcrM8Oa",
  "token_type": "bearer"
}
post_body
Verify authorization endpoint response
2022-05-07 10:01:58 SUCCESS
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
2022-05-07 10:01:58 SUCCESS
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
2022-05-07 10:01:58 SUCCESS
CheckMatchingCallbackParameters
Callback parameters successfully verified
2022-05-07 10:01:58
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
2022-05-07 10:01:58 SUCCESS
CheckIfAuthorizationEndpointError
No error from authorization endpoint
2022-05-07 10:01:58 SUCCESS
CheckStateInAuthorizationResponse
State in response correctly returned
state
ElEzcrM8Oa
2022-05-07 10:01:58 SUCCESS
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
code
RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I
2022-05-07 10:01:58 SUCCESS
ExtractAccessTokenFromAuthorizationResponse
Extracted the access token
value
7jqz6AoTsllSRHvIWEaKlanG0UfA7nuKtRJIy5ZIA4BdQRAMVydMmd0WUKUl4GDGsNega5ktCQIKGmK0yQfAsk
type
bearer
Userinfo endpoint tests
2022-05-07 10:01:58
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer 7jqz6AoTsllSRHvIWEaKlanG0UfA7nuKtRJIy5ZIA4BdQRAMVydMmd0WUKUl4GDGsNega5ktCQIKGmK0yQfAsk",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:01:58 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:01:58 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "c7ff7f52ebe9186c5ff2e9ad7e5a7da2",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 10:01:58 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:01:58 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "c7ff7f52ebe9186c5ff2e9ad7e5a7da2",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 10:01:58 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 10:01:58 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
grant_type
authorization_code
code
RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 10:01:58 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 10:01:58
CallTokenEndpoint
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/oauth/token
request_method
POST
request_headers
{
  "accept": "application/json",
  "authorization": "Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO",
  "content-type": "application/x-www-form-urlencoded;charset\u003dUTF-8",
  "content-length": "216"
}
request_body
grant_type=authorization_code&code=RTAVDP4ycwHjTXwMOeT8wIPHqtLTKBLVrfLkV5zHpjkNRIe7JNCAHcrpen5e8o7WgLnXPNmAbtku4b9mLlRg5I&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 10:01:59 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:01:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "793",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "e4ec813419d3b2399d424241c4b8d267",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"NNtuc8Ih8EO7nFvYOsiWjg8QEjWBKoyTER7JLGv5g5ZhKXYhKxPRuhEonDmbTOtB59mqHf92yQo8rvl1OuDxyK","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidUdpM3NMNm8tSlU4Q3ROYkk1Q2ZFQzdZaS1pcE5Ybk12cUV1ekp4T0FRYyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZXhwIjoxNjUyMDA0MTE5LCJpYXQiOjE2NTE5MTc3MTksImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImM3RHQ4WGdIS2siLCJzdWIiOiIxIn0.M8NNDYw2ir-r2BWQ5mqv6xmdllHfWRASTwKO9XgwRX-CR3DxT9Wl7pT1hbbmad2yvkOsxmgqUKdGXjJ30q8uBHHCLfoYWztvXKSpOK_rr946F3S_YkhydO0u0nKcJ3khjy6y1zz6s0IbOwDkzy4y8LHv_dCzjxyXu3_1n34oxJA","refresh_token":"IEmZVA2xXMGErV8l0fK0wrOYBiAdfe99W2QLKrosHRarZJEWq0cyThqPZKAnlI7SSu3h91OiTdDDEdKpxTKm56","token_type":"bearer"}
2022-05-07 10:01:59 SUCCESS
CallTokenEndpoint
Parsed token endpoint response
access_token
NNtuc8Ih8EO7nFvYOsiWjg8QEjWBKoyTER7JLGv5g5ZhKXYhKxPRuhEonDmbTOtB59mqHf92yQo8rvl1OuDxyK
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidUdpM3NMNm8tSlU4Q3ROYkk1Q2ZFQzdZaS1pcE5Ybk12cUV1ekp4T0FRYyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZXhwIjoxNjUyMDA0MTE5LCJpYXQiOjE2NTE5MTc3MTksImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImM3RHQ4WGdIS2siLCJzdWIiOiIxIn0.M8NNDYw2ir-r2BWQ5mqv6xmdllHfWRASTwKO9XgwRX-CR3DxT9Wl7pT1hbbmad2yvkOsxmgqUKdGXjJ30q8uBHHCLfoYWztvXKSpOK_rr946F3S_YkhydO0u0nKcJ3khjy6y1zz6s0IbOwDkzy4y8LHv_dCzjxyXu3_1n34oxJA
refresh_token
IEmZVA2xXMGErV8l0fK0wrOYBiAdfe99W2QLKrosHRarZJEWq0cyThqPZKAnlI7SSu3h91OiTdDDEdKpxTKm56
token_type
bearer
2022-05-07 10:01:59 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 10:01:59 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
NNtuc8Ih8EO7nFvYOsiWjg8QEjWBKoyTER7JLGv5g5ZhKXYhKxPRuhEonDmbTOtB59mqHf92yQo8rvl1OuDxyK
2022-05-07 10:01:59 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
NNtuc8Ih8EO7nFvYOsiWjg8QEjWBKoyTER7JLGv5g5ZhKXYhKxPRuhEonDmbTOtB59mqHf92yQo8rvl1OuDxyK
type
bearer
2022-05-07 10:01:59 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 10:01:59 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 10:01:59 SUCCESS
CheckForRefreshTokenValue
Found a refresh token
refresh_token
IEmZVA2xXMGErV8l0fK0wrOYBiAdfe99W2QLKrosHRarZJEWq0cyThqPZKAnlI7SSu3h91OiTdDDEdKpxTKm56
2022-05-07 10:01:59 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidUdpM3NMNm8tSlU4Q3ROYkk1Q2ZFQzdZaS1pcE5Ybk12cUV1ekp4T0FRYyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZXhwIjoxNjUyMDA0MTE5LCJpYXQiOjE2NTE5MTc3MTksImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImM3RHQ4WGdIS2siLCJzdWIiOiIxIn0.M8NNDYw2ir-r2BWQ5mqv6xmdllHfWRASTwKO9XgwRX-CR3DxT9Wl7pT1hbbmad2yvkOsxmgqUKdGXjJ30q8uBHHCLfoYWztvXKSpOK_rr946F3S_YkhydO0u0nKcJ3khjy6y1zz6s0IbOwDkzy4y8LHv_dCzjxyXu3_1n34oxJA
header
{
  "typ": "JWT",
  "alg": "RS512"
}
claims
{
  "at_hash": "uGi3sL6o-JU8CtNbI5CfEC7Yi-ipNXnMvqEuzJxOAQc",
  "aud": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
  "sub": "1",
  "auth_time": 1651917316,
  "iss": "https://oauth.example.boruta.patatoid.fr",
  "exp": 1652004119,
  "iat": 1651917719,
  "nonce": "c7Dt8XgHKk"
}
2022-05-07 10:01:59 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2022-05-07 10:01:59 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
c7Dt8XgHKk
2022-05-07 10:01:59 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2022-05-07 10:01:59 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidUdpM3NMNm8tSlU4Q3ROYkk1Q2ZFQzdZaS1pcE5Ybk12cUV1ekp4T0FRYyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZXhwIjoxNjUyMDA0MTE5LCJpYXQiOjE2NTE5MTc3MTksImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImM3RHQ4WGdIS2siLCJzdWIiOiIxIn0.M8NNDYw2ir-r2BWQ5mqv6xmdllHfWRASTwKO9XgwRX-CR3DxT9Wl7pT1hbbmad2yvkOsxmgqUKdGXjJ30q8uBHHCLfoYWztvXKSpOK_rr946F3S_YkhydO0u0nKcJ3khjy6y1zz6s0IbOwDkzy4y8LHv_dCzjxyXu3_1n34oxJA
2022-05-07 10:01:59 SUCCESS
ValidateIdTokenSignatureUsingKid
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidUdpM3NMNm8tSlU4Q3ROYkk1Q2ZFQzdZaS1pcE5Ybk12cUV1ekp4T0FRYyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZXhwIjoxNjUyMDA0MTE5LCJpYXQiOjE2NTE5MTc3MTksImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImM3RHQ4WGdIS2siLCJzdWIiOiIxIn0.M8NNDYw2ir-r2BWQ5mqv6xmdllHfWRASTwKO9XgwRX-CR3DxT9Wl7pT1hbbmad2yvkOsxmgqUKdGXjJ30q8uBHHCLfoYWztvXKSpOK_rr946F3S_YkhydO0u0nKcJ3khjy6y1zz6s0IbOwDkzy4y8LHv_dCzjxyXu3_1n34oxJA
2022-05-07 10:01:59 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
1
2022-05-07 10:01:59 INFO
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
path
jwe_header
mapped
object
id_token
Userinfo endpoint tests
2022-05-07 10:01:59
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer NNtuc8Ih8EO7nFvYOsiWjg8QEjWBKoyTER7JLGv5g5ZhKXYhKxPRuhEonDmbTOtB59mqHf92yQo8rvl1OuDxyK",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:01:59 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:01:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "cfdf90f4757447ffd3f99a8d8e737ddc",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 10:01:59 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:01:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "cfdf90f4757447ffd3f99a8d8e737ddc",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 10:01:59 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 10:01:59
CallUserInfoEndpointWithBearerTokenInBodyAllowingFailure
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
POST
request_headers
{
  "accept": "application/json",
  "content-type": "application/x-www-form-urlencoded;charset\u003dUTF-8",
  "content-length": "99"
}
request_body
access_token=NNtuc8Ih8EO7nFvYOsiWjg8QEjWBKoyTER7JLGv5g5ZhKXYhKxPRuhEonDmbTOtB59mqHf92yQo8rvl1OuDxyK
2022-05-07 10:01:59 RESPONSE
CallUserInfoEndpointWithBearerTokenInBodyAllowingFailure
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:01:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "43f9eed51158f637b1c63117e843c0b9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 10:01:59 SUCCESS
CallUserInfoEndpointWithBearerTokenInBodyAllowingFailure
Got a response from the userinfo endpoint
headers
{
  "date": "Sat, 07 May 2022 10:01:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "43f9eed51158f637b1c63117e843c0b9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
status_code
{
  "code": 200
}
body
{"sub":"1"}
2022-05-07 10:01:59 SUCCESS
CheckUserInfoEndpointReturnedJsonContentType
userinfo_endpoint_response_headers Content-Type: header is application/json
2022-05-07 10:01:59 SUCCESS
ExtractUserInfoFromUserInfoEndpointResponse
Extracted user info
userinfo
{
  "sub": "1"
}
2022-05-07 10:01:59
ValidateUserInfoStandardClaims
sub is a string
2022-05-07 10:01:59 SUCCESS
ValidateUserInfoStandardClaims
Userinfo is valid
2022-05-07 10:01:59 SUCCESS
EnsureUserInfoContainsSub
Found sub in userinfo
sub
1
2022-05-07 10:01:59
EnsureUserInfoBirthDateValid
userinfo response does not contain 'birthdate'
2022-05-07 10:01:59
EnsureUserInfoUpdatedAtValid
userinfo response does not contain 'updated_at'
2022-05-07 10:01:59
EnsureMemberValuesInClaimNameReferenceToMemberNamesInClaimSources
userinfo response does not contain '_claim_names' nor _claim_sources'
2022-05-07 10:01:59 FINISHED
oidcc-userinfo-post-body
Test has run to completion
testmodule_result
PASSED
Unregister dynamically registered client
2022-05-07 10:01:59
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
2022-05-07 10:02:03
TEST-RUNNER
Alias has now been claimed by another test
alias
boruta_example
new_test_id
9uM1dIXdv4NBInR
Test Results