Test Summary

Test Results

Expand All Collapse All
All times are UTC
2022-05-07 11:58:12 INFO
TEST-RUNNER
Test instance oZdaJMhijpV1TbS 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-codereuse-30seconds
2022-05-07 11:58:12 SUCCESS
CreateRedirectUri
Created redirect URI
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 11:58:12 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 11:58:12 SUCCESS
CheckServerConfiguration
Found required server configuration keys
required
[
  "authorization_endpoint",
  "token_endpoint",
  "issuer"
]
2022-05-07 11:58:12 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 11:58:12
FetchServerKeys
Fetching server key
jwks_uri
https://oauth.example.boruta.patatoid.fr/openid/jwks
2022-05-07 11:58:12
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 11:58:12 RESPONSE
FetchServerKeys
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 11:58:12 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": "fd15ea71dec195401f62a4d6832ff2cc",
  "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 11:58:12
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 11:58:12 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 11:58:12 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 11:58:12 SUCCESS
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
2022-05-07 11:58:12 SUCCESS
CheckForKeyIdInServerJWKs
All keys contain kids
2022-05-07 11:58:12 SUCCESS
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
see
https://bitbucket.org/openid/connect/issues/1127
2022-05-07 11:58:12 SUCCESS
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
2022-05-07 11:58:12 SUCCESS
GetStaticClientConfiguration
Found a static client object
client_id
6a2f41a3-c54c-fce8-32d2-0324e1c32e20
client_secret
guFbXb5fRePaCfTtAsKTPa3uPnC42A4XkbyNQSDe8LAh4pN6QIi0C3J5avDIN2Ry432srhfmVJuvbQQC0Qz6SN
2022-05-07 11:58:12 INFO
ValidateClientJWKsPrivatePart
Skipped evaluation due to missing required element: client jwks
path
jwks
mapped
object
client
2022-05-07 11:58:12 INFO
ExtractJWKsFromStaticClientConfiguration
Skipped evaluation due to missing required element: client jwks
path
jwks
mapped
object
client
2022-05-07 11:58:12 INFO
CheckDistinctKeyIdValueInClientJWKs
Skipped evaluation due to missing required element: client jwks
path
jwks
mapped
object
client
2022-05-07 11:58:12
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
scope
openid
2022-05-07 11:58:12 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 11:58:12
oidcc-codereuse-30seconds
Setup Done
Make request to authorization endpoint
2022-05-07 11:58:12 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 11:58:12
CreateRandomStateValue
Created state value
requested_state_length
10
state
ZJCXuB9zAT
2022-05-07 11:58:12 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
ZJCXuB9zAT
2022-05-07 11:58:12
CreateRandomNonceValue
Created nonce value
requested_nonce_length
10
nonce
MbSKnkXKmO
2022-05-07 11:58:12 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
ZJCXuB9zAT
nonce
MbSKnkXKmO
2022-05-07 11:58:12 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
ZJCXuB9zAT
nonce
MbSKnkXKmO
response_type
code token
2022-05-07 11:58:12 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": "ZJCXuB9zAT",
  "nonce": "MbSKnkXKmO",
  "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=ZJCXuB9zAT&nonce=MbSKnkXKmO&response_type=code%20token
2022-05-07 11:58:12 REDIRECT
oidcc-codereuse-30seconds
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=ZJCXuB9zAT&nonce=MbSKnkXKmO&response_type=code%20token
2022-05-07 11:58:15 INCOMING
oidcc-codereuse-30seconds
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\u003d16DA0739C613A467F936FD2C39F91428",
  "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 11:58:15 SUCCESS
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
implicit_submit
{
  "path": "implicit/qBaGzIraUEzpTTZwNtcm",
  "fullUrl": "https://www.certification.openid.net/test/a/boruta_example/implicit/qBaGzIraUEzpTTZwNtcm"
}
2022-05-07 11:58:15 OUTGOING
oidcc-codereuse-30seconds
Response to HTTP request to test instance oZdaJMhijpV1TbS
outgoing
ModelAndView [view="implicitCallback"; model={implicitSubmitUrl=https://www.certification.openid.net/test/a/boruta_example/implicit/qBaGzIraUEzpTTZwNtcm, returnUrl=/log-detail.html?log=oZdaJMhijpV1TbS}]
outgoing_path
callback
2022-05-07 11:58:15 INCOMING
oidcc-codereuse-30seconds
Incoming HTTP request to /test/a/boruta_example/implicit/qBaGzIraUEzpTTZwNtcm
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\u003d16DA0739C613A467F936FD2C39F91428",
  "connection": "close",
  "content-length": "241"
}
incoming_path
/test/a/boruta_example/implicit/qBaGzIraUEzpTTZwNtcm
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=5PlUzJzhl3tie4tZE5DORo1L6AV2Jrp28tx3xXjiR6ctFT4KHeIdutTyadPAumPYQuOuvEraPjn9yRQPqzt9HS&code=Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG&expires_in=60&state=ZJCXuB9zAT&token_type=bearer
2022-05-07 11:58:15 OUTGOING
oidcc-codereuse-30seconds
Response to HTTP request to test instance oZdaJMhijpV1TbS
outgoing_status_code
204
outgoing_headers
{}
outgoing_body

                                
outgoing_path
implicit/qBaGzIraUEzpTTZwNtcm
2022-05-07 11:58:15
ExtractImplicitHashToCallbackResponse
Extracted response from URL fragment
parameters
[
  {
    "name": "access_token",
    "value": "5PlUzJzhl3tie4tZE5DORo1L6AV2Jrp28tx3xXjiR6ctFT4KHeIdutTyadPAumPYQuOuvEraPjn9yRQPqzt9HS"
  },
  {
    "name": "code",
    "value": "Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG"
  },
  {
    "name": "expires_in",
    "value": "60"
  },
  {
    "name": "state",
    "value": "ZJCXuB9zAT"
  },
  {
    "name": "token_type",
    "value": "bearer"
  }
]
2022-05-07 11:58:15 SUCCESS
ExtractImplicitHashToCallbackResponse
Extracted the hash values
access_token
5PlUzJzhl3tie4tZE5DORo1L6AV2Jrp28tx3xXjiR6ctFT4KHeIdutTyadPAumPYQuOuvEraPjn9yRQPqzt9HS
code
Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG
expires_in
60
state
ZJCXuB9zAT
token_type
bearer
2022-05-07 11:58:15 REDIRECT-IN
oidcc-codereuse-30seconds
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\u003d16DA0739C613A467F936FD2C39F91428",
  "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": "5PlUzJzhl3tie4tZE5DORo1L6AV2Jrp28tx3xXjiR6ctFT4KHeIdutTyadPAumPYQuOuvEraPjn9yRQPqzt9HS",
  "code": "Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG",
  "expires_in": "60",
  "state": "ZJCXuB9zAT",
  "token_type": "bearer"
}
post_body
Verify authorization endpoint response
2022-05-07 11:58:15 SUCCESS
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
2022-05-07 11:58:15 SUCCESS
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
2022-05-07 11:58:15 SUCCESS
CheckMatchingCallbackParameters
Callback parameters successfully verified
2022-05-07 11:58:15
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
2022-05-07 11:58:15 SUCCESS
CheckIfAuthorizationEndpointError
No error from authorization endpoint
2022-05-07 11:58:15 SUCCESS
CheckStateInAuthorizationResponse
State in response correctly returned
state
ZJCXuB9zAT
2022-05-07 11:58:15 SUCCESS
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
code
Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG
2022-05-07 11:58:15 SUCCESS
ExtractAccessTokenFromAuthorizationResponse
Extracted the access token
value
5PlUzJzhl3tie4tZE5DORo1L6AV2Jrp28tx3xXjiR6ctFT4KHeIdutTyadPAumPYQuOuvEraPjn9yRQPqzt9HS
type
bearer
Userinfo endpoint tests
2022-05-07 11:58:15
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer 5PlUzJzhl3tie4tZE5DORo1L6AV2Jrp28tx3xXjiR6ctFT4KHeIdutTyadPAumPYQuOuvEraPjn9yRQPqzt9HS",
  "content-length": "0"
}
request_body

                                
2022-05-07 11:58:16 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 11:58:16 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": "94814f13977ca5640cb9f98de6441682",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 11:58:16 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 11:58:16 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": "94814f13977ca5640cb9f98de6441682",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 11:58:16 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 11:58:16 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
grant_type
authorization_code
code
Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 11:58:16 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 11:58:16
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=Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 11:58:16 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 11:58:16 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "793",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "f8378554a709b12fa688a251af0cc0fa",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"ioLl01sC5hO8IOwIlzoIuFcpMuOMgme6l3cPRIiohhyO014ZmBRcCLyOkt4Z9siaUvumzJ2jG760KL0s9fxUQo","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiUy1xa2wtbTRtc3NXYy1UbmptbWJwSTN4TmsyVk14OVJBZGREU0VXVDVhRSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMDk2LCJpYXQiOjE2NTE5MjQ2OTYsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6Ik1iU0tua1hLbU8iLCJzdWIiOiIxIn0.brobAxWw7U2bOT5vnikKsMFO1xcNrzurMqftD7lCXSKjN6Zk58iq5E1xRztKOTpLbbIrpMrp1886OvuesAn0rx28aAZUyQgiZnDSxNZ5GFFc-IxpkNqj26tmdjZf3Uucj_dreEB419ixTqkWmNd7axOT4CDTVG86Aher0ILhCtY","refresh_token":"Whd4bbGN5dfrYjSdt3kmw21GIpTUAr0haLOxzhSAUIU9yxoYPBPRYPNz2PhnzmMQZExfk6BbwAR8aaOPcletV0","token_type":"bearer"}
2022-05-07 11:58:16 SUCCESS
CallTokenEndpoint
Parsed token endpoint response
access_token
ioLl01sC5hO8IOwIlzoIuFcpMuOMgme6l3cPRIiohhyO014ZmBRcCLyOkt4Z9siaUvumzJ2jG760KL0s9fxUQo
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiUy1xa2wtbTRtc3NXYy1UbmptbWJwSTN4TmsyVk14OVJBZGREU0VXVDVhRSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMDk2LCJpYXQiOjE2NTE5MjQ2OTYsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6Ik1iU0tua1hLbU8iLCJzdWIiOiIxIn0.brobAxWw7U2bOT5vnikKsMFO1xcNrzurMqftD7lCXSKjN6Zk58iq5E1xRztKOTpLbbIrpMrp1886OvuesAn0rx28aAZUyQgiZnDSxNZ5GFFc-IxpkNqj26tmdjZf3Uucj_dreEB419ixTqkWmNd7axOT4CDTVG86Aher0ILhCtY
refresh_token
Whd4bbGN5dfrYjSdt3kmw21GIpTUAr0haLOxzhSAUIU9yxoYPBPRYPNz2PhnzmMQZExfk6BbwAR8aaOPcletV0
token_type
bearer
2022-05-07 11:58:16 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 11:58:16 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
ioLl01sC5hO8IOwIlzoIuFcpMuOMgme6l3cPRIiohhyO014ZmBRcCLyOkt4Z9siaUvumzJ2jG760KL0s9fxUQo
2022-05-07 11:58:16 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
ioLl01sC5hO8IOwIlzoIuFcpMuOMgme6l3cPRIiohhyO014ZmBRcCLyOkt4Z9siaUvumzJ2jG760KL0s9fxUQo
type
bearer
2022-05-07 11:58:16 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 11:58:16 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 11:58:16 SUCCESS
CheckForRefreshTokenValue
Found a refresh token
refresh_token
Whd4bbGN5dfrYjSdt3kmw21GIpTUAr0haLOxzhSAUIU9yxoYPBPRYPNz2PhnzmMQZExfk6BbwAR8aaOPcletV0
2022-05-07 11:58:16 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiUy1xa2wtbTRtc3NXYy1UbmptbWJwSTN4TmsyVk14OVJBZGREU0VXVDVhRSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMDk2LCJpYXQiOjE2NTE5MjQ2OTYsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6Ik1iU0tua1hLbU8iLCJzdWIiOiIxIn0.brobAxWw7U2bOT5vnikKsMFO1xcNrzurMqftD7lCXSKjN6Zk58iq5E1xRztKOTpLbbIrpMrp1886OvuesAn0rx28aAZUyQgiZnDSxNZ5GFFc-IxpkNqj26tmdjZf3Uucj_dreEB419ixTqkWmNd7axOT4CDTVG86Aher0ILhCtY
header
{
  "typ": "JWT",
  "alg": "RS512"
}
claims
{
  "at_hash": "S-qkl-m4mssWc-TnjmmbpI3xNk2VMx9RAddDSEWT5aE",
  "aud": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
  "sub": "1",
  "auth_time": 1651918001,
  "iss": "https://oauth.example.boruta.patatoid.fr",
  "exp": 1652011096,
  "iat": 1651924696,
  "nonce": "MbSKnkXKmO"
}
2022-05-07 11:58:16 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2022-05-07 11:58:16 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
MbSKnkXKmO
2022-05-07 11:58:16 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2022-05-07 11:58:16 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiUy1xa2wtbTRtc3NXYy1UbmptbWJwSTN4TmsyVk14OVJBZGREU0VXVDVhRSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMDk2LCJpYXQiOjE2NTE5MjQ2OTYsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6Ik1iU0tua1hLbU8iLCJzdWIiOiIxIn0.brobAxWw7U2bOT5vnikKsMFO1xcNrzurMqftD7lCXSKjN6Zk58iq5E1xRztKOTpLbbIrpMrp1886OvuesAn0rx28aAZUyQgiZnDSxNZ5GFFc-IxpkNqj26tmdjZf3Uucj_dreEB419ixTqkWmNd7axOT4CDTVG86Aher0ILhCtY
2022-05-07 11:58:16 SUCCESS
ValidateIdTokenSignatureUsingKid
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiUy1xa2wtbTRtc3NXYy1UbmptbWJwSTN4TmsyVk14OVJBZGREU0VXVDVhRSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMDk2LCJpYXQiOjE2NTE5MjQ2OTYsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6Ik1iU0tua1hLbU8iLCJzdWIiOiIxIn0.brobAxWw7U2bOT5vnikKsMFO1xcNrzurMqftD7lCXSKjN6Zk58iq5E1xRztKOTpLbbIrpMrp1886OvuesAn0rx28aAZUyQgiZnDSxNZ5GFFc-IxpkNqj26tmdjZf3Uucj_dreEB419ixTqkWmNd7axOT4CDTVG86Aher0ILhCtY
2022-05-07 11:58:16 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
1
2022-05-07 11:58:16 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 11:58:16
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer ioLl01sC5hO8IOwIlzoIuFcpMuOMgme6l3cPRIiohhyO014ZmBRcCLyOkt4Z9siaUvumzJ2jG760KL0s9fxUQo",
  "content-length": "0"
}
request_body

                                
2022-05-07 11:58:17 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 11:58:16 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": "959edf9ca1de30dc65629f4222c75c35",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 11:58:17 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 11:58:16 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": "959edf9ca1de30dc65629f4222c75c35",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 11:58:17 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 11:58:17 SUCCESS
WaitFor30Seconds
Pausing for 30 seconds
2022-05-07 11:58:47 SUCCESS
WaitFor30Seconds
Woke up after 30 seconds sleep
Attempting reuse of authorisation code
2022-05-07 11:58:47
CallTokenEndpointAndReturnFullResponse
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=Ti6Aqc70K918UAkDuwVojRN5i0M2XXtQj7tIffozg6yoW4kocjmAlIFMBrs9ArnSTaxkPNHJN8zfSbMlRpVvWG&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 11:58:47 RESPONSE
CallTokenEndpointAndReturnFullResponse
HTTP response
response_status_code
400 BAD_REQUEST
response_status_text
Bad Request
response_headers
{
  "date": "Sat, 07 May 2022 11:58:47 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "84",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "ecee841c01740abd3199c0148d186a2a",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"error":"invalid_grant","error_description":"Given authorization code is invalid."}
2022-05-07 11:58:47 SUCCESS
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
error
invalid_grant
error_description
Given authorization code is invalid.
2022-05-07 11:58:47 SUCCESS
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
2022-05-07 11:58:47 SUCCESS
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
2022-05-07 11:58:47 SUCCESS
CheckErrorFromTokenEndpointResponseErrorInvalidGrant
Token Endpoint response error returned expected 'error' of 'invalid_grant'
expected
[
  "invalid_grant"
]
2022-05-07 11:58:47 SUCCESS
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
error
invalid_grant
2022-05-07 11:58:47 SUCCESS
CheckErrorDescriptionFromTokenEndpointResponseErrorContainsCRLFTAB
token_endpoint_response 'error_description' field does not include CR/LF/TAB
error_description
Given authorization code is invalid.
2022-05-07 11:58:47 SUCCESS
ValidateErrorDescriptionFromTokenEndpointResponseError
token_endpoint_response error returned valid 'error_description' field
error_description
Given authorization code is invalid.
2022-05-07 11:58:47 SUCCESS
ValidateErrorUriFromTokenEndpointResponseError
token_endpoint_response did not include optional 'error_uri' field
Testing if access token was revoked after authorization code reuse (the AS 'should' have revoked the access token)
2022-05-07 11:58:47
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer ioLl01sC5hO8IOwIlzoIuFcpMuOMgme6l3cPRIiohhyO014ZmBRcCLyOkt4Z9siaUvumzJ2jG760KL0s9fxUQo",
  "content-length": "0"
}
request_body

                                
2022-05-07 11:58:47 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 11:58:47 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": "f35c823296e34a207f92e74c368f6dd9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 11:58:47 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 11:58:47 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": "f35c823296e34a207f92e74c368f6dd9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 11:58:47 WARNING
EnsureHttpStatusCodeIs4xx
resourceendpoint returned a different http status than expected
actual
200
expected
400 to 499
2022-05-07 11:58:47 FINISHED
oidcc-codereuse-30seconds
Test has run to completion
testmodule_result
WARNING
Unregister dynamically registered client
2022-05-07 11:58:47
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
2022-05-07 11:59:00
TEST-RUNNER
Alias has now been claimed by another test
alias
boruta_example
new_test_id
FduGoviyGrBzJSC
Test Results