Test Summary

Test Results

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

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

                                
2022-05-07 12:00:53 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:00:53 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": "e9832e2864ba2ce833450232dc5281fb",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 12:00:53 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 12:00:53 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": "e9832e2864ba2ce833450232dc5281fb",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 12:00:53 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 12:00:53 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
grant_type
authorization_code
code
l8jjrklsQ9SEMec8UPASL5SZnEJERTUyTiJQIz9cqBpICXsV72f3s37tWMGMT9k971JDUAEqfkmlRBovQNQ4S5
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 12:00:53 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 12:00:53
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=l8jjrklsQ9SEMec8UPASL5SZnEJERTUyTiJQIz9cqBpICXsV72f3s37tWMGMT9k971JDUAEqfkmlRBovQNQ4S5&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 12:00:53 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:00:53 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "793",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "3f3b887bf30b0e1d684dbc58b89796fd",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"Es9kVoQEjvZHB4be9WClOQI7xrr4LhHkLz1ezDPAb3IxHcUAssBquqFLqVAY2nGPYt6s2koRdoWgr3krLbbHli","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiVFU3WlMyemFqdWxuQVF4enhRbzdtWEtvcXV1TXVYZk1VMHo0cmJLYXRXdyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjUzLCJpYXQiOjE2NTE5MjQ4NTMsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkI4b2N5QVdKZGYiLCJzdWIiOiIxIn0.XIjqynrqyGzvEPTs3abri6eXLgs_IvswcRaAQZCaayQTzhc6AAZccJxfs8aqPgmPJqjFS4AvKkxXbUhzU6sOqJF7v1VM3uFAxERYxCHWrvyOrMKkReKE9TNa3vjED1BEsJV4qaXyfcdv3ucKQIh5M_IcHhih7Li4e1X95pPEh6M","refresh_token":"32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX","token_type":"bearer"}
2022-05-07 12:00:53 SUCCESS
CallTokenEndpoint
Parsed token endpoint response
access_token
Es9kVoQEjvZHB4be9WClOQI7xrr4LhHkLz1ezDPAb3IxHcUAssBquqFLqVAY2nGPYt6s2koRdoWgr3krLbbHli
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiVFU3WlMyemFqdWxuQVF4enhRbzdtWEtvcXV1TXVYZk1VMHo0cmJLYXRXdyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjUzLCJpYXQiOjE2NTE5MjQ4NTMsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkI4b2N5QVdKZGYiLCJzdWIiOiIxIn0.XIjqynrqyGzvEPTs3abri6eXLgs_IvswcRaAQZCaayQTzhc6AAZccJxfs8aqPgmPJqjFS4AvKkxXbUhzU6sOqJF7v1VM3uFAxERYxCHWrvyOrMKkReKE9TNa3vjED1BEsJV4qaXyfcdv3ucKQIh5M_IcHhih7Li4e1X95pPEh6M
refresh_token
32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX
token_type
bearer
2022-05-07 12:00:53 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 12:00:53 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
Es9kVoQEjvZHB4be9WClOQI7xrr4LhHkLz1ezDPAb3IxHcUAssBquqFLqVAY2nGPYt6s2koRdoWgr3krLbbHli
2022-05-07 12:00:53 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
Es9kVoQEjvZHB4be9WClOQI7xrr4LhHkLz1ezDPAb3IxHcUAssBquqFLqVAY2nGPYt6s2koRdoWgr3krLbbHli
type
bearer
2022-05-07 12:00:53 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 12:00:53 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 12:00:53 SUCCESS
CheckForRefreshTokenValue
Found a refresh token
refresh_token
32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX
2022-05-07 12:00:53 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiVFU3WlMyemFqdWxuQVF4enhRbzdtWEtvcXV1TXVYZk1VMHo0cmJLYXRXdyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjUzLCJpYXQiOjE2NTE5MjQ4NTMsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkI4b2N5QVdKZGYiLCJzdWIiOiIxIn0.XIjqynrqyGzvEPTs3abri6eXLgs_IvswcRaAQZCaayQTzhc6AAZccJxfs8aqPgmPJqjFS4AvKkxXbUhzU6sOqJF7v1VM3uFAxERYxCHWrvyOrMKkReKE9TNa3vjED1BEsJV4qaXyfcdv3ucKQIh5M_IcHhih7Li4e1X95pPEh6M
header
{
  "typ": "JWT",
  "alg": "RS512"
}
claims
{
  "at_hash": "TU7ZS2zajulnAQxzxQo7mXKoquuMuXfMU0z4rbKatWw",
  "aud": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
  "sub": "1",
  "auth_time": 1651918001,
  "iss": "https://oauth.example.boruta.patatoid.fr",
  "exp": 1652011253,
  "iat": 1651924853,
  "nonce": "B8ocyAWJdf"
}
2022-05-07 12:00:53 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2022-05-07 12:00:53 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
B8ocyAWJdf
2022-05-07 12:00:53 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2022-05-07 12:00:53 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiVFU3WlMyemFqdWxuQVF4enhRbzdtWEtvcXV1TXVYZk1VMHo0cmJLYXRXdyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjUzLCJpYXQiOjE2NTE5MjQ4NTMsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkI4b2N5QVdKZGYiLCJzdWIiOiIxIn0.XIjqynrqyGzvEPTs3abri6eXLgs_IvswcRaAQZCaayQTzhc6AAZccJxfs8aqPgmPJqjFS4AvKkxXbUhzU6sOqJF7v1VM3uFAxERYxCHWrvyOrMKkReKE9TNa3vjED1BEsJV4qaXyfcdv3ucKQIh5M_IcHhih7Li4e1X95pPEh6M
2022-05-07 12:00:53 SUCCESS
ValidateIdTokenSignatureUsingKid
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiVFU3WlMyemFqdWxuQVF4enhRbzdtWEtvcXV1TXVYZk1VMHo0cmJLYXRXdyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjUzLCJpYXQiOjE2NTE5MjQ4NTMsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkI4b2N5QVdKZGYiLCJzdWIiOiIxIn0.XIjqynrqyGzvEPTs3abri6eXLgs_IvswcRaAQZCaayQTzhc6AAZccJxfs8aqPgmPJqjFS4AvKkxXbUhzU6sOqJF7v1VM3uFAxERYxCHWrvyOrMKkReKE9TNa3vjED1BEsJV4qaXyfcdv3ucKQIh5M_IcHhih7Li4e1X95pPEh6M
2022-05-07 12:00:53 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
1
2022-05-07 12:00:53 INFO
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
path
jwe_header
mapped
object
id_token
2022-05-07 12:00:53 SUCCESS
ExtractRefreshTokenFromTokenResponse
Extracted refresh token from response
refresh_token
32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX
2022-05-07 12:00:53 SUCCESS
EnsureRefreshTokenContainsAllowedCharactersOnly
Refresh token does not contain any illegal characters
Refresh Token Request
2022-05-07 12:00:53 SUCCESS
CreateRefreshTokenRequest
Created token endpoint request parameters
grant_type
refresh_token
refresh_token
32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX
2022-05-07 12:00:53 SUCCESS
AddScopeToTokenEndpointRequest
Added scope of 'openid offline_access' to token endpoint request
grant_type
refresh_token
refresh_token
32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX
scope
openid offline_access
2022-05-07 12:00:53 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 12:00:53 SUCCESS
WaitForOneSecond
Pausing for 1 seconds
2022-05-07 12:00:54 SUCCESS
WaitForOneSecond
Woke up after 1 seconds sleep
2022-05-07 12:00:54
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": "153"
}
request_body
grant_type=refresh_token&refresh_token=32P3dxV6yLzvJtvj1mCY3psbDlmHoncEux5QFDO6F2hk0cRk1diGvcKWs8yic1UhmtSkpDbueJLX5NdMaHqpOX&scope=openid+offline_access
2022-05-07 12:00:54 RESPONSE
CallTokenEndpointAndReturnFullResponse
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:00:54 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "251",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "7258dae2ae133a9e20aa9e3bc9b4d3b5",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"rm8VHf1fJW277WxEsgjF4kyxKdNFi9ycqLhloOHzKuBL2CtiAkXfKfo0COMPBLCXotcKHYozGXHagwQfXlEeAC","expires_in":86400,"refresh_token":"FMFIyz7sUPRM6WArMfc5LSbHqdcX8L6Cld7Li58QX2pzJUDogck94MoqdF07BBZJqO35KPICDDKHih4hVJKyqQ","token_type":"bearer"}
2022-05-07 12:00:54 SUCCESS
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
access_token
rm8VHf1fJW277WxEsgjF4kyxKdNFi9ycqLhloOHzKuBL2CtiAkXfKfo0COMPBLCXotcKHYozGXHagwQfXlEeAC
expires_in
86400
refresh_token
FMFIyz7sUPRM6WArMfc5LSbHqdcX8L6Cld7Li58QX2pzJUDogck94MoqdF07BBZJqO35KPICDDKHih4hVJKyqQ
token_type
bearer
2022-05-07 12:00:54 SUCCESS
CheckTokenEndpointHttpStatus200
Token endpoint http status code was 200
2022-05-07 12:00:54 SUCCESS
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
2022-05-07 12:00:54 SUCCESS
CheckTokenEndpointCacheHeaders
'pragma' and 'cache-control' headers in token endpoint response contain expected values.
cache_control_header
no-store
pragma_header
no-cache
2022-05-07 12:00:54 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 12:00:54 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
rm8VHf1fJW277WxEsgjF4kyxKdNFi9ycqLhloOHzKuBL2CtiAkXfKfo0COMPBLCXotcKHYozGXHagwQfXlEeAC
type
bearer
2022-05-07 12:00:54 SUCCESS
CheckTokenTypeIsBearer
Token type is bearer
2022-05-07 12:00:54 SUCCESS
EnsureMinimumAccessTokenEntropy
Calculated shannon entropy seems sufficient
actual
462.29424092778015
expected
96.0
value
s
2022-05-07 12:00:54 SUCCESS
EnsureAccessTokenContainsAllowedCharactersOnly
Access token does not contain any illegal characters
2022-05-07 12:00:54 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 12:00:54 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 12:00:54 SUCCESS
EnsureAccessTokenValuesAreDifferent
Access token values are not the same
first_access_token
Es9kVoQEjvZHB4be9WClOQI7xrr4LhHkLz1ezDPAb3IxHcUAssBquqFLqVAY2nGPYt6s2koRdoWgr3krLbbHli
second_access_token
rm8VHf1fJW277WxEsgjF4kyxKdNFi9ycqLhloOHzKuBL2CtiAkXfKfo0COMPBLCXotcKHYozGXHagwQfXlEeAC
2022-05-07 12:00:54 INFO
ExtractIdTokenFromTokenResponse
Couldn't find id_token in token_endpoint_response
2022-05-07 12:00:54 SUCCESS
ExtractRefreshTokenFromTokenResponse
Extracted refresh token from response
refresh_token
FMFIyz7sUPRM6WArMfc5LSbHqdcX8L6Cld7Li58QX2pzJUDogck94MoqdF07BBZJqO35KPICDDKHih4hVJKyqQ
2022-05-07 12:00:54 SUCCESS
EnsureMinimumRefreshTokenLength
Refresh token is of sufficient length
actual
688
required
128
2022-05-07 12:00:54 SUCCESS
EnsureMinimumRefreshTokenEntropy
Calculated shannon entropy seems sufficient
actual
461.86478138490924
expected
96.0
value
s
2022-05-07 12:00:54 INFO
CompareIdTokenClaims
Skipped evaluation due to missing required object: second_id_token
expected
second_id_token
mapped
second_id_token
Userinfo endpoint tests
2022-05-07 12:00:54
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer rm8VHf1fJW277WxEsgjF4kyxKdNFi9ycqLhloOHzKuBL2CtiAkXfKfo0COMPBLCXotcKHYozGXHagwQfXlEeAC",
  "content-length": "0"
}
request_body

                                
2022-05-07 12:00:55 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:00:55 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": "4e59ca5147b5a18df701bd791c2517a9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 12:00:55 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 12:00:55 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": "4e59ca5147b5a18df701bd791c2517a9",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 12:00:55 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
Second client: Make request to authorization endpoint
2022-05-07 12:00:55 SUCCESS
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
client_id
4b6d0564-f448-4ded-9bd9-15851142e6a8
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid offline_access
2022-05-07 12:00:55
CreateRandomStateValue
Created state value
requested_state_length
10
state
Ip1kb38mk2
2022-05-07 12:00:55 SUCCESS
AddStateToAuthorizationEndpointRequest
Added state parameter to request
client_id
4b6d0564-f448-4ded-9bd9-15851142e6a8
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid offline_access
state
Ip1kb38mk2
2022-05-07 12:00:55
CreateRandomNonceValue
Created nonce value
requested_nonce_length
10
nonce
HbS8UfmAZv
2022-05-07 12:00:55 SUCCESS
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
client_id
4b6d0564-f448-4ded-9bd9-15851142e6a8
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid offline_access
state
Ip1kb38mk2
nonce
HbS8UfmAZv
2022-05-07 12:00:55 SUCCESS
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
client_id
4b6d0564-f448-4ded-9bd9-15851142e6a8
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid offline_access
state
Ip1kb38mk2
nonce
HbS8UfmAZv
response_type
code token
2022-05-07 12:00:55 SUCCESS
AddPromptConsentToAuthorizationEndpointRequestIfScopeContainsOfflineAccess
Added prompt=consent to authorization endpoint request
client_id
4b6d0564-f448-4ded-9bd9-15851142e6a8
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
scope
openid offline_access
state
Ip1kb38mk2
nonce
HbS8UfmAZv
response_type
code token
prompt
consent
2022-05-07 12:00:55 SUCCESS
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
auth_request
{
  "client_id": "4b6d0564-f448-4ded-9bd9-15851142e6a8",
  "redirect_uri": "https://www.certification.openid.net/test/a/boruta_example/callback",
  "scope": "openid offline_access",
  "state": "Ip1kb38mk2",
  "nonce": "HbS8UfmAZv",
  "response_type": "code token",
  "prompt": "consent"
}
redirect_to_authorization_endpoint
https://oauth.example.boruta.patatoid.fr/openid/authorize?client_id=4b6d0564-f448-4ded-9bd9-15851142e6a8&redirect_uri=https://www.certification.openid.net/test/a/boruta_example/callback&scope=openid%20offline_access&state=Ip1kb38mk2&nonce=HbS8UfmAZv&response_type=code%20token&prompt=consent
2022-05-07 12:00:55 REDIRECT
oidcc-refresh-token
Redirecting to authorization endpoint
redirect_to
https://oauth.example.boruta.patatoid.fr/openid/authorize?client_id=4b6d0564-f448-4ded-9bd9-15851142e6a8&redirect_uri=https://www.certification.openid.net/test/a/boruta_example/callback&scope=openid%20offline_access&state=Ip1kb38mk2&nonce=HbS8UfmAZv&response_type=code%20token&prompt=consent
2022-05-07 12:00:59 INCOMING
oidcc-refresh-token
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 12:00:59 SUCCESS
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
implicit_submit
{
  "path": "implicit/uzxRwvmMfcJrsMx3pr4F",
  "fullUrl": "https://www.certification.openid.net/test/a/boruta_example/implicit/uzxRwvmMfcJrsMx3pr4F"
}
2022-05-07 12:00:59 OUTGOING
oidcc-refresh-token
Response to HTTP request to test instance u82XyE8HgvZD40l
outgoing
ModelAndView [view="implicitCallback"; model={implicitSubmitUrl=https://www.certification.openid.net/test/a/boruta_example/implicit/uzxRwvmMfcJrsMx3pr4F, returnUrl=/log-detail.html?log=u82XyE8HgvZD40l}]
outgoing_path
callback
2022-05-07 12:00:59 INCOMING
oidcc-refresh-token
Incoming HTTP request to /test/a/boruta_example/implicit/uzxRwvmMfcJrsMx3pr4F
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/uzxRwvmMfcJrsMx3pr4F
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=It4AJkj3XnO03Qk1NfQc4b3Ui3vuM9awb1yd75pURMQOMW5rDCKXiC4VMxCrfWMt6p0FGNPRRVw2CZIHC2V6tM&code=jKjSFhEQy05ci9SVlB9VyO3gmhpLSZ75gyRA3K7VvHsZ1ZgfNSCUZF28AV0vZb4ayjQhRW4sCGsz9G8kSJFgUj&expires_in=60&state=Ip1kb38mk2&token_type=bearer
2022-05-07 12:00:59 OUTGOING
oidcc-refresh-token
Response to HTTP request to test instance u82XyE8HgvZD40l
outgoing_status_code
204
outgoing_headers
{}
outgoing_body

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

                                
2022-05-07 12:00:59 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:00:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "f45112ceba80819c2798d0185c8c69bf",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 12:00:59 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 12:00:59 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "f45112ceba80819c2798d0185c8c69bf",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 12:00:59 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 12:00:59 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
grant_type
authorization_code
code
jKjSFhEQy05ci9SVlB9VyO3gmhpLSZ75gyRA3K7VvHsZ1ZgfNSCUZF28AV0vZb4ayjQhRW4sCGsz9G8kSJFgUj
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 12:00:59 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NGI2ZDA1NjQtZjQ0OC00ZGVkLTliZDktMTU4NTExNDJlNmE4OjdsYlZCZmg2SEZMZUl2aG5zZ3RKMjhvZEhIRjg2MlAyQWdlOHNtdDU2ZVVDZ0FpSk9vOXIzbzVsSWx5bWlBZElkOHY0ejZvakdRT1IyZm9oaVdzY01H
2022-05-07 12:00:59
CallTokenEndpoint
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/oauth/token
request_method
POST
request_headers
{
  "accept": "application/json",
  "authorization": "Basic NGI2ZDA1NjQtZjQ0OC00ZGVkLTliZDktMTU4NTExNDJlNmE4OjdsYlZCZmg2SEZMZUl2aG5zZ3RKMjhvZEhIRjg2MlAyQWdlOHNtdDU2ZVVDZ0FpSk9vOXIzbzVsSWx5bWlBZElkOHY0ejZvakdRT1IyZm9oaVdzY01H",
  "content-type": "application/x-www-form-urlencoded;charset\u003dUTF-8",
  "content-length": "216"
}
request_body
grant_type=authorization_code&code=jKjSFhEQy05ci9SVlB9VyO3gmhpLSZ75gyRA3K7VvHsZ1ZgfNSCUZF28AV0vZb4ayjQhRW4sCGsz9G8kSJFgUj&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 12:01:00 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:01:00 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "793",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "77fe87e6662734e25381dd954ac0a6a3",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"woR9n2RxAe4xSzGb97H3RG7cvHfYkVW471yvOBSUrDRBrfcfjOZ8hEpmJ7rrRPPf6xr9RpdQwYe8snj7rxPaSt","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiaVdLanhvVE1yb1ZuTk9XS29rbEd4SDBtS2o0bi1QWVZjRzJqT2dBcXlnbyIsImF1ZCI6IjRiNmQwNTY0LWY0NDgtNGRlZC05YmQ5LTE1ODUxMTQyZTZhOCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjYwLCJpYXQiOjE2NTE5MjQ4NjAsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkhiUzhVZm1BWnYiLCJzdWIiOiIxIn0.X3YWQ0UoejAopoDpFWYdNI7ArTdbog6lW01jOLPe6f6CtqVJ9PrGketpZn5ueu_ngH_Zxv49EYQ7Q9nGTRph3J-bG25p3whwENklFHQ5aC6TftCmDWk_lM9LVxm0-vvIKl3Kedcy28FIyjKkeTfbLagi8MAJON-SSqnEA-5S_3s","refresh_token":"ca9mDThaE4bhEVLtk99JbtwYQwQcbz3fXSizqmyuIqwk18elLryyuWiOKaxgxYPenIjCtmfwLh21nWj38vkPc2","token_type":"bearer"}
2022-05-07 12:01:00 SUCCESS
CallTokenEndpoint
Parsed token endpoint response
access_token
woR9n2RxAe4xSzGb97H3RG7cvHfYkVW471yvOBSUrDRBrfcfjOZ8hEpmJ7rrRPPf6xr9RpdQwYe8snj7rxPaSt
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiaVdLanhvVE1yb1ZuTk9XS29rbEd4SDBtS2o0bi1QWVZjRzJqT2dBcXlnbyIsImF1ZCI6IjRiNmQwNTY0LWY0NDgtNGRlZC05YmQ5LTE1ODUxMTQyZTZhOCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjYwLCJpYXQiOjE2NTE5MjQ4NjAsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkhiUzhVZm1BWnYiLCJzdWIiOiIxIn0.X3YWQ0UoejAopoDpFWYdNI7ArTdbog6lW01jOLPe6f6CtqVJ9PrGketpZn5ueu_ngH_Zxv49EYQ7Q9nGTRph3J-bG25p3whwENklFHQ5aC6TftCmDWk_lM9LVxm0-vvIKl3Kedcy28FIyjKkeTfbLagi8MAJON-SSqnEA-5S_3s
refresh_token
ca9mDThaE4bhEVLtk99JbtwYQwQcbz3fXSizqmyuIqwk18elLryyuWiOKaxgxYPenIjCtmfwLh21nWj38vkPc2
token_type
bearer
2022-05-07 12:01:00 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 12:01:00 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
woR9n2RxAe4xSzGb97H3RG7cvHfYkVW471yvOBSUrDRBrfcfjOZ8hEpmJ7rrRPPf6xr9RpdQwYe8snj7rxPaSt
2022-05-07 12:01:00 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
woR9n2RxAe4xSzGb97H3RG7cvHfYkVW471yvOBSUrDRBrfcfjOZ8hEpmJ7rrRPPf6xr9RpdQwYe8snj7rxPaSt
type
bearer
2022-05-07 12:01:00 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 12:01:00 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 12:01:00 SUCCESS
CheckForRefreshTokenValue
Found a refresh token
refresh_token
ca9mDThaE4bhEVLtk99JbtwYQwQcbz3fXSizqmyuIqwk18elLryyuWiOKaxgxYPenIjCtmfwLh21nWj38vkPc2
2022-05-07 12:01:00 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiaVdLanhvVE1yb1ZuTk9XS29rbEd4SDBtS2o0bi1QWVZjRzJqT2dBcXlnbyIsImF1ZCI6IjRiNmQwNTY0LWY0NDgtNGRlZC05YmQ5LTE1ODUxMTQyZTZhOCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjYwLCJpYXQiOjE2NTE5MjQ4NjAsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkhiUzhVZm1BWnYiLCJzdWIiOiIxIn0.X3YWQ0UoejAopoDpFWYdNI7ArTdbog6lW01jOLPe6f6CtqVJ9PrGketpZn5ueu_ngH_Zxv49EYQ7Q9nGTRph3J-bG25p3whwENklFHQ5aC6TftCmDWk_lM9LVxm0-vvIKl3Kedcy28FIyjKkeTfbLagi8MAJON-SSqnEA-5S_3s
header
{
  "typ": "JWT",
  "alg": "RS512"
}
claims
{
  "at_hash": "iWKjxoTMroVnNOWKoklGxH0mKj4n-PYVcG2jOgAqygo",
  "aud": "4b6d0564-f448-4ded-9bd9-15851142e6a8",
  "sub": "1",
  "auth_time": 1651918001,
  "iss": "https://oauth.example.boruta.patatoid.fr",
  "exp": 1652011260,
  "iat": 1651924860,
  "nonce": "HbS8UfmAZv"
}
2022-05-07 12:01:00 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2022-05-07 12:01:00 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
HbS8UfmAZv
2022-05-07 12:01:00 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2022-05-07 12:01:00 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiaVdLanhvVE1yb1ZuTk9XS29rbEd4SDBtS2o0bi1QWVZjRzJqT2dBcXlnbyIsImF1ZCI6IjRiNmQwNTY0LWY0NDgtNGRlZC05YmQ5LTE1ODUxMTQyZTZhOCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjYwLCJpYXQiOjE2NTE5MjQ4NjAsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkhiUzhVZm1BWnYiLCJzdWIiOiIxIn0.X3YWQ0UoejAopoDpFWYdNI7ArTdbog6lW01jOLPe6f6CtqVJ9PrGketpZn5ueu_ngH_Zxv49EYQ7Q9nGTRph3J-bG25p3whwENklFHQ5aC6TftCmDWk_lM9LVxm0-vvIKl3Kedcy28FIyjKkeTfbLagi8MAJON-SSqnEA-5S_3s
2022-05-07 12:01:00 SUCCESS
ValidateIdTokenSignatureUsingKid
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoiaVdLanhvVE1yb1ZuTk9XS29rbEd4SDBtS2o0bi1QWVZjRzJqT2dBcXlnbyIsImF1ZCI6IjRiNmQwNTY0LWY0NDgtNGRlZC05YmQ5LTE1ODUxMTQyZTZhOCIsImF1dGhfdGltZSI6MTY1MTkxODAwMSwiZXhwIjoxNjUyMDExMjYwLCJpYXQiOjE2NTE5MjQ4NjAsImlzcyI6Imh0dHBzOi8vb2F1dGguZXhhbXBsZS5ib3J1dGEucGF0YXRvaWQuZnIiLCJub25jZSI6IkhiUzhVZm1BWnYiLCJzdWIiOiIxIn0.X3YWQ0UoejAopoDpFWYdNI7ArTdbog6lW01jOLPe6f6CtqVJ9PrGketpZn5ueu_ngH_Zxv49EYQ7Q9nGTRph3J-bG25p3whwENklFHQ5aC6TftCmDWk_lM9LVxm0-vvIKl3Kedcy28FIyjKkeTfbLagi8MAJON-SSqnEA-5S_3s
2022-05-07 12:01:00 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
1
2022-05-07 12:01:00 INFO
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
path
jwe_header
mapped
object
id_token
2022-05-07 12:01:00 SUCCESS
ExtractRefreshTokenFromTokenResponse
Extracted refresh token from response
refresh_token
ca9mDThaE4bhEVLtk99JbtwYQwQcbz3fXSizqmyuIqwk18elLryyuWiOKaxgxYPenIjCtmfwLh21nWj38vkPc2
2022-05-07 12:01:00 SUCCESS
EnsureRefreshTokenContainsAllowedCharactersOnly
Refresh token does not contain any illegal characters
Second client: Refresh Token Request
2022-05-07 12:01:00 SUCCESS
CreateRefreshTokenRequest
Created token endpoint request parameters
grant_type
refresh_token
refresh_token
ca9mDThaE4bhEVLtk99JbtwYQwQcbz3fXSizqmyuIqwk18elLryyuWiOKaxgxYPenIjCtmfwLh21nWj38vkPc2
2022-05-07 12:01:00 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NGI2ZDA1NjQtZjQ0OC00ZGVkLTliZDktMTU4NTExNDJlNmE4OjdsYlZCZmg2SEZMZUl2aG5zZ3RKMjhvZEhIRjg2MlAyQWdlOHNtdDU2ZVVDZ0FpSk9vOXIzbzVsSWx5bWlBZElkOHY0ejZvakdRT1IyZm9oaVdzY01H
2022-05-07 12:01:00 SUCCESS
WaitForOneSecond
Pausing for 1 seconds
2022-05-07 12:01:01 SUCCESS
WaitForOneSecond
Woke up after 1 seconds sleep
2022-05-07 12:01:01
CallTokenEndpointAndReturnFullResponse
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/oauth/token
request_method
POST
request_headers
{
  "accept": "application/json",
  "authorization": "Basic NGI2ZDA1NjQtZjQ0OC00ZGVkLTliZDktMTU4NTExNDJlNmE4OjdsYlZCZmg2SEZMZUl2aG5zZ3RKMjhvZEhIRjg2MlAyQWdlOHNtdDU2ZVVDZ0FpSk9vOXIzbzVsSWx5bWlBZElkOHY0ejZvakdRT1IyZm9oaVdzY01H",
  "content-type": "application/x-www-form-urlencoded;charset\u003dUTF-8",
  "content-length": "125"
}
request_body
grant_type=refresh_token&refresh_token=ca9mDThaE4bhEVLtk99JbtwYQwQcbz3fXSizqmyuIqwk18elLryyuWiOKaxgxYPenIjCtmfwLh21nWj38vkPc2
2022-05-07 12:01:01 RESPONSE
CallTokenEndpointAndReturnFullResponse
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:01:01 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "251",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "67a7b44a84fefb7408d56064e9b4cb25",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"S4eISny3fhQp3XPbHuLPW08hks76RPLc4HfTn1hCe7PG7DaPhjSLus9LZxlPIo0Y1IEkS22NEkb9uGDaWv10Bv","expires_in":86400,"refresh_token":"5dXbMdPaA82IIJuuXZJb5IqxcmaLwzkeprR8L7kxM7TBX9t5SGnsmMXpdKBl6fkbmjzeegwrDcL2yEpxSiXqQk","token_type":"bearer"}
2022-05-07 12:01:01 SUCCESS
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
access_token
S4eISny3fhQp3XPbHuLPW08hks76RPLc4HfTn1hCe7PG7DaPhjSLus9LZxlPIo0Y1IEkS22NEkb9uGDaWv10Bv
expires_in
86400
refresh_token
5dXbMdPaA82IIJuuXZJb5IqxcmaLwzkeprR8L7kxM7TBX9t5SGnsmMXpdKBl6fkbmjzeegwrDcL2yEpxSiXqQk
token_type
bearer
2022-05-07 12:01:01 SUCCESS
CheckTokenEndpointHttpStatus200
Token endpoint http status code was 200
2022-05-07 12:01:01 SUCCESS
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
2022-05-07 12:01:01 SUCCESS
CheckTokenEndpointCacheHeaders
'pragma' and 'cache-control' headers in token endpoint response contain expected values.
cache_control_header
no-store
pragma_header
no-cache
2022-05-07 12:01:01 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 12:01:01 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
S4eISny3fhQp3XPbHuLPW08hks76RPLc4HfTn1hCe7PG7DaPhjSLus9LZxlPIo0Y1IEkS22NEkb9uGDaWv10Bv
type
bearer
2022-05-07 12:01:01 SUCCESS
CheckTokenTypeIsBearer
Token type is bearer
2022-05-07 12:01:01 SUCCESS
EnsureMinimumAccessTokenEntropy
Calculated shannon entropy seems sufficient
actual
452.6196688870727
expected
96.0
value
s
2022-05-07 12:01:01 SUCCESS
EnsureAccessTokenContainsAllowedCharactersOnly
Access token does not contain any illegal characters
2022-05-07 12:01:01 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 12:01:01 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 12:01:01 SUCCESS
EnsureAccessTokenValuesAreDifferent
Access token values are not the same
first_access_token
woR9n2RxAe4xSzGb97H3RG7cvHfYkVW471yvOBSUrDRBrfcfjOZ8hEpmJ7rrRPPf6xr9RpdQwYe8snj7rxPaSt
second_access_token
S4eISny3fhQp3XPbHuLPW08hks76RPLc4HfTn1hCe7PG7DaPhjSLus9LZxlPIo0Y1IEkS22NEkb9uGDaWv10Bv
2022-05-07 12:01:01 INFO
ExtractIdTokenFromTokenResponse
Couldn't find id_token in token_endpoint_response
2022-05-07 12:01:01 SUCCESS
ExtractRefreshTokenFromTokenResponse
Extracted refresh token from response
refresh_token
5dXbMdPaA82IIJuuXZJb5IqxcmaLwzkeprR8L7kxM7TBX9t5SGnsmMXpdKBl6fkbmjzeegwrDcL2yEpxSiXqQk
2022-05-07 12:01:01 SUCCESS
EnsureMinimumRefreshTokenLength
Refresh token is of sufficient length
actual
688
required
128
2022-05-07 12:01:01 SUCCESS
EnsureMinimumRefreshTokenEntropy
Calculated shannon entropy seems sufficient
actual
459.5002534083089
expected
96.0
value
s
2022-05-07 12:01:01 INFO
CompareIdTokenClaims
Skipped evaluation due to missing required object: second_id_token
expected
second_id_token
mapped
second_id_token
Second client: Userinfo endpoint tests
2022-05-07 12:01:01
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer S4eISny3fhQp3XPbHuLPW08hks76RPLc4HfTn1hCe7PG7DaPhjSLus9LZxlPIo0Y1IEkS22NEkb9uGDaWv10Bv",
  "content-length": "0"
}
request_body

                                
2022-05-07 12:01:01 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 12:01:01 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": "c6d95ad824afc37109945c50b69788c5",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1"}
2022-05-07 12:01:01 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 12:01:01 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": "c6d95ad824afc37109945c50b69788c5",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1"}
2022-05-07 12:01:01 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
Attempting to use refresh_token issued to client 2 with client 1
2022-05-07 12:01:01 SUCCESS
CreateRefreshTokenRequest
Created token endpoint request parameters
grant_type
refresh_token
refresh_token
5dXbMdPaA82IIJuuXZJb5IqxcmaLwzkeprR8L7kxM7TBX9t5SGnsmMXpdKBl6fkbmjzeegwrDcL2yEpxSiXqQk
2022-05-07 12:01:01 SUCCESS
AddScopeToTokenEndpointRequest
Added scope of 'openid offline_access' to token endpoint request
grant_type
refresh_token
refresh_token
5dXbMdPaA82IIJuuXZJb5IqxcmaLwzkeprR8L7kxM7TBX9t5SGnsmMXpdKBl6fkbmjzeegwrDcL2yEpxSiXqQk
scope
openid offline_access
2022-05-07 12:01:01 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 12:01:01
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": "153"
}
request_body
grant_type=refresh_token&refresh_token=5dXbMdPaA82IIJuuXZJb5IqxcmaLwzkeprR8L7kxM7TBX9t5SGnsmMXpdKBl6fkbmjzeegwrDcL2yEpxSiXqQk&scope=openid+offline_access
2022-05-07 12:01:02 RESPONSE
CallTokenEndpointAndReturnFullResponse
HTTP response
response_status_code
400 BAD_REQUEST
response_status_text
Bad Request
response_headers
{
  "date": "Sat, 07 May 2022 12:01:02 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "79",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "0b899b0daddb942748466ad016beb36c",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"error":"invalid_grant","error_description":"Given refresh token is invalid."}
2022-05-07 12:01:02 SUCCESS
CallTokenEndpointAndReturnFullResponse
Parsed token endpoint response
error
invalid_grant
error_description
Given refresh token is invalid.
2022-05-07 12:01:02 SUCCESS
ValidateErrorFromTokenEndpointResponseError
Token endpoint response error returned valid 'error' field
error
invalid_grant
2022-05-07 12:01:02 SUCCESS
CheckTokenEndpointHttpStatus400
Token endpoint http status code was 400
2022-05-07 12:01:02 SUCCESS
CheckTokenEndpointReturnedJsonContentType
token_endpoint_response_headers Content-Type: header is application/json
2022-05-07 12:01:02 SUCCESS
CheckErrorFromTokenEndpointResponseErrorInvalidGrant
Token Endpoint response error returned expected 'error' of 'invalid_grant'
expected
[
  "invalid_grant"
]
2022-05-07 12:01:02 FINISHED
oidcc-refresh-token
Test has run to completion
testmodule_result
PASSED
Unregister dynamically registered client
2022-05-07 12:01:02
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
Second client: Unregister dynamically registered client
2022-05-07 12:01:02
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
2022-05-07 12:01:05
TEST-RUNNER
Alias has now been claimed by another test
alias
boruta_example
new_test_id
USJSOLPRf1Dld8N
Test Results