Test Summary

Test Results

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

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

                                
2022-05-07 10:03:40 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:40 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "61",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "47ccbbf6b2e69b8faa7ead7aa3dfb12a",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1","email":"openid@test.test","email_verified":false}
2022-05-07 10:03:40 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:03:40 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "61",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "47ccbbf6b2e69b8faa7ead7aa3dfb12a",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1","email":"openid@test.test","email_verified":false}
2022-05-07 10:03:40 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 10:03:40 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
grant_type
authorization_code
code
w2fSks5yHJdPVC2fbAT5M5MblmEIFbVRhhbkVr3Gjfkm7zW7ZZwx2Fo9o6747cvKEMQLTlBeeKOXiJEvmEBfEj
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 10:03:40 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 10:03:40
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=w2fSks5yHJdPVC2fbAT5M5MblmEIFbVRhhbkVr3Gjfkm7zW7ZZwx2Fo9o6747cvKEMQLTlBeeKOXiJEvmEBfEj&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 10:03:40 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:40 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "860",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "f646c3a1db774ca3686ffd844c4ffcc9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"Epnfv0WuNwkiQtlwy9U3ZuyCfeR3v1qDVtpTLx5wOUs3FQ5btCJG5tK1RpY88NQfpsdsKPOtyYOfTLUmxyJHvJ","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiRy13ZFJGczc1U0Y3bS04RjdHMEJkOTVleFFOMHhUYk03QnAybzgyUXpldyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZW1haWwiOiJvcGVuaWRAdGVzdC50ZXN0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJleHAiOjE2NTIwMDQyMjAsImlhdCI6MTY1MTkxNzgyMCwiaXNzIjoiaHR0cHM6Ly9vYXV0aC5leGFtcGxlLmJvcnV0YS5wYXRhdG9pZC5mciIsIm5vbmNlIjoiUHJBcEpzd2VIcSIsInN1YiI6IjEifQ.VBT7P8drpXKo5TRtrGMigC1kaJarBhSg_giOmh8uqYWPCtTrWYrWYsAKApy6Trkb6PNzLNQNPNR7Tq83FWrYewZoERUzQtpS6QPo0WnEPwrJlWi38auaga_gwvUlHr7rp2H8LxV4E0StAQ9hQdXmAAAIhB0j9n0bSVPZy8k9We8","refresh_token":"nDF9Qbr2QycAM8kde2QEi1uF1BcY4JCbsTeVROmIHKi5VSiVgFNXbz2rGmURU0iWdldMJ5MVefEr5tR1gv8bAg","token_type":"bearer"}
2022-05-07 10:03:40 SUCCESS
CallTokenEndpoint
Parsed token endpoint response
access_token
Epnfv0WuNwkiQtlwy9U3ZuyCfeR3v1qDVtpTLx5wOUs3FQ5btCJG5tK1RpY88NQfpsdsKPOtyYOfTLUmxyJHvJ
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiRy13ZFJGczc1U0Y3bS04RjdHMEJkOTVleFFOMHhUYk03QnAybzgyUXpldyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZW1haWwiOiJvcGVuaWRAdGVzdC50ZXN0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJleHAiOjE2NTIwMDQyMjAsImlhdCI6MTY1MTkxNzgyMCwiaXNzIjoiaHR0cHM6Ly9vYXV0aC5leGFtcGxlLmJvcnV0YS5wYXRhdG9pZC5mciIsIm5vbmNlIjoiUHJBcEpzd2VIcSIsInN1YiI6IjEifQ.VBT7P8drpXKo5TRtrGMigC1kaJarBhSg_giOmh8uqYWPCtTrWYrWYsAKApy6Trkb6PNzLNQNPNR7Tq83FWrYewZoERUzQtpS6QPo0WnEPwrJlWi38auaga_gwvUlHr7rp2H8LxV4E0StAQ9hQdXmAAAIhB0j9n0bSVPZy8k9We8
refresh_token
nDF9Qbr2QycAM8kde2QEi1uF1BcY4JCbsTeVROmIHKi5VSiVgFNXbz2rGmURU0iWdldMJ5MVefEr5tR1gv8bAg
token_type
bearer
2022-05-07 10:03:40 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 10:03:40 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
Epnfv0WuNwkiQtlwy9U3ZuyCfeR3v1qDVtpTLx5wOUs3FQ5btCJG5tK1RpY88NQfpsdsKPOtyYOfTLUmxyJHvJ
2022-05-07 10:03:40 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
Epnfv0WuNwkiQtlwy9U3ZuyCfeR3v1qDVtpTLx5wOUs3FQ5btCJG5tK1RpY88NQfpsdsKPOtyYOfTLUmxyJHvJ
type
bearer
2022-05-07 10:03:40 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 10:03:40 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 10:03:40 SUCCESS
CheckForRefreshTokenValue
Found a refresh token
refresh_token
nDF9Qbr2QycAM8kde2QEi1uF1BcY4JCbsTeVROmIHKi5VSiVgFNXbz2rGmURU0iWdldMJ5MVefEr5tR1gv8bAg
2022-05-07 10:03:40 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiRy13ZFJGczc1U0Y3bS04RjdHMEJkOTVleFFOMHhUYk03QnAybzgyUXpldyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZW1haWwiOiJvcGVuaWRAdGVzdC50ZXN0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJleHAiOjE2NTIwMDQyMjAsImlhdCI6MTY1MTkxNzgyMCwiaXNzIjoiaHR0cHM6Ly9vYXV0aC5leGFtcGxlLmJvcnV0YS5wYXRhdG9pZC5mciIsIm5vbmNlIjoiUHJBcEpzd2VIcSIsInN1YiI6IjEifQ.VBT7P8drpXKo5TRtrGMigC1kaJarBhSg_giOmh8uqYWPCtTrWYrWYsAKApy6Trkb6PNzLNQNPNR7Tq83FWrYewZoERUzQtpS6QPo0WnEPwrJlWi38auaga_gwvUlHr7rp2H8LxV4E0StAQ9hQdXmAAAIhB0j9n0bSVPZy8k9We8
header
{
  "typ": "JWT",
  "alg": "RS512"
}
claims
{
  "at_hash": "G-wdRFs75SF7m-8F7G0Bd95exQN0xTbM7Bp2o82Qzew",
  "aud": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
  "sub": "1",
  "email_verified": false,
  "auth_time": 1651917316,
  "iss": "https://oauth.example.boruta.patatoid.fr",
  "exp": 1652004220,
  "iat": 1651917820,
  "nonce": "PrApJsweHq",
  "email": "openid@test.test"
}
2022-05-07 10:03:40 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2022-05-07 10:03:40 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
PrApJsweHq
2022-05-07 10:03:40 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2022-05-07 10:03:40 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiRy13ZFJGczc1U0Y3bS04RjdHMEJkOTVleFFOMHhUYk03QnAybzgyUXpldyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZW1haWwiOiJvcGVuaWRAdGVzdC50ZXN0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJleHAiOjE2NTIwMDQyMjAsImlhdCI6MTY1MTkxNzgyMCwiaXNzIjoiaHR0cHM6Ly9vYXV0aC5leGFtcGxlLmJvcnV0YS5wYXRhdG9pZC5mciIsIm5vbmNlIjoiUHJBcEpzd2VIcSIsInN1YiI6IjEifQ.VBT7P8drpXKo5TRtrGMigC1kaJarBhSg_giOmh8uqYWPCtTrWYrWYsAKApy6Trkb6PNzLNQNPNR7Tq83FWrYewZoERUzQtpS6QPo0WnEPwrJlWi38auaga_gwvUlHr7rp2H8LxV4E0StAQ9hQdXmAAAIhB0j9n0bSVPZy8k9We8
2022-05-07 10:03:40 SUCCESS
ValidateIdTokenSignatureUsingKid
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiRy13ZFJGczc1U0Y3bS04RjdHMEJkOTVleFFOMHhUYk03QnAybzgyUXpldyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiZW1haWwiOiJvcGVuaWRAdGVzdC50ZXN0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJleHAiOjE2NTIwMDQyMjAsImlhdCI6MTY1MTkxNzgyMCwiaXNzIjoiaHR0cHM6Ly9vYXV0aC5leGFtcGxlLmJvcnV0YS5wYXRhdG9pZC5mciIsIm5vbmNlIjoiUHJBcEpzd2VIcSIsInN1YiI6IjEifQ.VBT7P8drpXKo5TRtrGMigC1kaJarBhSg_giOmh8uqYWPCtTrWYrWYsAKApy6Trkb6PNzLNQNPNR7Tq83FWrYewZoERUzQtpS6QPo0WnEPwrJlWi38auaga_gwvUlHr7rp2H8LxV4E0StAQ9hQdXmAAAIhB0j9n0bSVPZy8k9We8
2022-05-07 10:03:40 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
1
2022-05-07 10:03:40 INFO
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
path
jwe_header
mapped
object
id_token
2022-05-07 10:03:40 SUCCESS
EnsureIdTokenDoesNotContainName
name claim not found in id_token, which is expected as it was not requested to be returned there
2022-05-07 10:03:40 WARNING
EnsureIdTokenDoesNotContainEmailForScopeEmail
Unexpectedly found email in id_token. The conformance suite did not request the 'email' claim is returned in the id_token and hence did not expect the server to include it; as per the spec link for this response_type scope=email is a short hand for 'please give me access to the user's email address in the userinfo response'. Technically returning unrequested claims does not violate the specifications but it could be a bug in the server and may result in user data being exposed in unintended ways if the relying party did not expect the email to be in the id_token, and then uses the id_token to provide proof of the authentication event to other parties.
email
openid@test.test
Userinfo endpoint tests
2022-05-07 10:03:40
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer Epnfv0WuNwkiQtlwy9U3ZuyCfeR3v1qDVtpTLx5wOUs3FQ5btCJG5tK1RpY88NQfpsdsKPOtyYOfTLUmxyJHvJ",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:03:40 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:40 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "61",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "30f492f94ae6746aa4bbc96c9ad62e65",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1","email":"openid@test.test","email_verified":false}
2022-05-07 10:03:40 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:03:40 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "61",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "30f492f94ae6746aa4bbc96c9ad62e65",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1","email":"openid@test.test","email_verified":false}
2022-05-07 10:03:40 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 10:03:40
CallUserInfoEndpointWithBearerToken
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer Epnfv0WuNwkiQtlwy9U3ZuyCfeR3v1qDVtpTLx5wOUs3FQ5btCJG5tK1RpY88NQfpsdsKPOtyYOfTLUmxyJHvJ",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:03:41 RESPONSE
CallUserInfoEndpointWithBearerToken
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:41 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "61",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "7bf7198bfc035bf7a6f41f65d581c250",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1","email":"openid@test.test","email_verified":false}
2022-05-07 10:03:41 SUCCESS
CallUserInfoEndpointWithBearerToken
Got a response from the userinfo endpoint
headers
{
  "date": "Sat, 07 May 2022 10:03:41 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "61",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "7bf7198bfc035bf7a6f41f65d581c250",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
status_code
{
  "code": 200
}
body
{"sub":"1","email":"openid@test.test","email_verified":false}
2022-05-07 10:03:41 SUCCESS
ExtractUserInfoFromUserInfoEndpointResponse
Extracted user info
userinfo
{
  "sub": "1",
  "email": "openid@test.test",
  "email_verified": false
}
2022-05-07 10:03:41
ValidateUserInfoStandardClaims
sub is a string
2022-05-07 10:03:41
ValidateUserInfoStandardClaims
email is a string
2022-05-07 10:03:41
ValidateUserInfoStandardClaims
email_verified is a boolean
2022-05-07 10:03:41 SUCCESS
ValidateUserInfoStandardClaims
Userinfo is valid
2022-05-07 10:03:41 SUCCESS
EnsureUserInfoContainsSub
Found sub in userinfo
sub
1
2022-05-07 10:03:41
EnsureUserInfoBirthDateValid
userinfo response does not contain 'birthdate'
2022-05-07 10:03:41
EnsureUserInfoUpdatedAtValid
userinfo response does not contain 'updated_at'
2022-05-07 10:03:41
EnsureMemberValuesInClaimNameReferenceToMemberNamesInClaimSources
userinfo response does not contain '_claim_names' nor _claim_sources'
2022-05-07 10:03:41 SUCCESS
VerifyUserInfoAndIdTokenInTokenEndpointSameSub
userinfo response and id_token sub are the same
sub_user_info
1
sub_id_token
1
2022-05-07 10:03:41 SUCCESS
VerifyScopesReturnedInUserInfoClaims
'claims' in userinfo contains all scope items of scope in authorization request (corresponds to scope standard claims)
actual_scope_items
[
  "sub",
  "email",
  "email_verified"
]
expected_scope_items
[
  "sub",
  "email",
  "email_verified"
]
2022-05-07 10:03:41 SUCCESS
EnsureUserInfoDoesNotContainName
name claim not found in userinfo response, which is expected as it was not requested to be returned there
2022-05-07 10:03:41 FINISHED
oidcc-scope-email
Test has run to completion
testmodule_result
WARNING
Unregister dynamically registered client
2022-05-07 10:03:41
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
2022-05-07 10:03:43
TEST-RUNNER
Alias has now been claimed by another test
alias
boruta_example
new_test_id
t908Sg4n9RoJErH
Test Results