Test Summary

Test Results

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

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

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

                                
2022-05-07 10:08:14 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:08:14 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": "11262f97719a6c7e4392961069f7fb49",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 10:08:14 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:08:14 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": "11262f97719a6c7e4392961069f7fb49",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 10:08:14 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
Attempting reuse of authorisation code
2022-05-07 10:08:14
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=ixNRtXirNAzrQbNkKLbosgW3Ee3EE5ovcHeqFsPTSCVoLIMsLQvqPXpSEJH45c61ikzq1F7TmeXxvaWLxDfhhB&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 10:08:15 RESPONSE
CallTokenEndpointAndReturnFullResponse
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:08:15 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "793",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "5ce900d814cbe8c66d85de70bba9dbdb",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"9EmpD4oCbzSjmQ6n5IihKYlR95hPA0X7yKCOpZanEU4yT5QSu3zCWqCfONoVJmyAK36lpLCJGSjZ7A0vZXs66l","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidGpSRk5kN3JPX2IyLUowTlAzakJBTjg5UnhvRElNWFE3alk2a01JS09MTSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDA0NDk1LCJpYXQiOjE2NTE5MTgwOTUsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImpnWEVPejlnUGUiLCJzdWIiOiIxIn0.k4n9LTmyc0ncIJL4Emb86_QMDIHLI5xL4gCQDTtcqDMFyeSe5D6I3cImXfiy928-fBDVyU7I44dpQhnVtjsWEcEjVf5VBMwpWMlW17HHxTi1DAdaUDR8dKtrP_v2FPEibW5bwNv7omtbR4Vkjda0btOfZxDXX0czLsCIHkNLSfE","refresh_token":"IQjNfyOl4C9LgjwPylXrGAezUDckjAEQakN4dowePzEpGbhOdKlXouZ768HZx4vclMY3jy4x6jfP0088MdJbAn","token_type":"bearer"}
2022-05-07 10:08:15 SUCCESS
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
access_token
9EmpD4oCbzSjmQ6n5IihKYlR95hPA0X7yKCOpZanEU4yT5QSu3zCWqCfONoVJmyAK36lpLCJGSjZ7A0vZXs66l
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoidGpSRk5kN3JPX2IyLUowTlAzakJBTjg5UnhvRElNWFE3alk2a01JS09MTSIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDA0NDk1LCJpYXQiOjE2NTE5MTgwOTUsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6ImpnWEVPejlnUGUiLCJzdWIiOiIxIn0.k4n9LTmyc0ncIJL4Emb86_QMDIHLI5xL4gCQDTtcqDMFyeSe5D6I3cImXfiy928-fBDVyU7I44dpQhnVtjsWEcEjVf5VBMwpWMlW17HHxTi1DAdaUDR8dKtrP_v2FPEibW5bwNv7omtbR4Vkjda0btOfZxDXX0czLsCIHkNLSfE
refresh_token
IQjNfyOl4C9LgjwPylXrGAezUDckjAEQakN4dowePzEpGbhOdKlXouZ768HZx4vclMY3jy4x6jfP0088MdJbAn
token_type
bearer
2022-05-07 10:08:15 WARNING
ServerAllowedReusingAuthorizationCode
Server has incorrectly allowed a second use of an authorization code; an authorization code is expected to be single use.
2022-05-07 10:08:15 FINISHED
oidcc-codereuse
Test has run to completion
testmodule_result
WARNING
Unregister dynamically registered client
2022-05-07 10:08:15
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
2022-05-07 10:08:18
TEST-RUNNER
Alias has now been claimed by another test
alias
boruta_example
new_test_id
udaK8VuLYe88Kjt
Test Results