Test Summary

Test Results

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

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

                                
2022-05-07 10:03:32 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:32 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "411",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "909e774773777cd9b94fd9d0f259d9ea",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1","birthdate":"2021-08-01","family_name":"family_name","gender":"gender","given_name":"given_name","locale":"FR","middle_name":"middle_name","name":"name","nickname":"nickname","picture":"picture","prefered_username":"prefered_username","preferred_username":"prefered_username","profile":"http://profile.host","updated_at":1651917812,"updates_at":"updates_at","website":"website","zoneinfo":"zoneinfo"}
2022-05-07 10:03:32 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:03:32 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "411",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "909e774773777cd9b94fd9d0f259d9ea",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1","birthdate":"2021-08-01","family_name":"family_name","gender":"gender","given_name":"given_name","locale":"FR","middle_name":"middle_name","name":"name","nickname":"nickname","picture":"picture","prefered_username":"prefered_username","preferred_username":"prefered_username","profile":"http://profile.host","updated_at":1651917812,"updates_at":"updates_at","website":"website","zoneinfo":"zoneinfo"}
2022-05-07 10:03:32 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 10:03:32 SUCCESS
CreateTokenEndpointRequestForAuthorizationCodeGrant
Created token endpoint request
grant_type
authorization_code
code
xG9hjj9z2yw3PPXsKXDpN7ATXN6QxIq81x4c4bwbWAUQHIKrJ8gXh5YapenwYa4tITQ7pDNUYrbhINa9PLi0YS
redirect_uri
https://www.certification.openid.net/test/a/boruta_example/callback
2022-05-07 10:03:32 SUCCESS
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
Authorization
Basic NmEyZjQxYTMtYzU0Yy1mY2U4LTMyZDItMDMyNGUxYzMyZTIwOmd1RmJYYjVmUmVQYUNmVHRBc0tUUGEzdVBuQzQyQTRYa2J5TlFTRGU4TEFoNHBONlFJaTBDM0o1YXZESU4yUnk0MzJzcmhmbVZKdXZiUVFDMFF6NlNO
2022-05-07 10:03:32
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=xG9hjj9z2yw3PPXsKXDpN7ATXN6QxIq81x4c4bwbWAUQHIKrJ8gXh5YapenwYa4tITQ7pDNUYrbhINa9PLi0YS&redirect_uri=https%3A%2F%2Fwww.certification.openid.net%2Ftest%2Fa%2Fboruta_example%2Fcallback
2022-05-07 10:03:32 RESPONSE
CallTokenEndpoint
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:32 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "1326",
  "connection": "keep-alive",
  "cache-control": "no-store",
  "pragma": "no-cache",
  "x-request-id": "0eea3e179992eacfc3f48a05c22e3185",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"access_token":"nWIpfUn35ppP7WOoK76MnuQXBdf2SYVgebRmkhVrG5Kxl83pzRcqUX8AWdhZ7eCNlEYW01v1k9va7OZNLqJmvo","expires_in":86400,"id_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoibk5fQ3dUUUU0ajVxMHZNN1FZbEVUZVlHQVo0OExrMUM1QU80Qk5kUjBxZyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiYmlydGhkYXRlIjoiMjAyMS0wOC0wMSIsImV4cCI6MTY1MjAwNDIxMiwiZmFtaWx5X25hbWUiOiJmYW1pbHlfbmFtZSIsImdlbmRlciI6ImdlbmRlciIsImdpdmVuX25hbWUiOiJnaXZlbl9uYW1lIiwiaWF0IjoxNjUxOTE3ODEyLCJpc3MiOiJodHRwczovL29hdXRoLmV4YW1wbGUuYm9ydXRhLnBhdGF0b2lkLmZyIiwibG9jYWxlIjoiRlIiLCJtaWRkbGVfbmFtZSI6Im1pZGRsZV9uYW1lIiwibmFtZSI6Im5hbWUiLCJuaWNrbmFtZSI6Im5pY2tuYW1lIiwibm9uY2UiOiI3OXRQUmszd000IiwicGljdHVyZSI6InBpY3R1cmUiLCJwcmVmZXJlZF91c2VybmFtZSI6InByZWZlcmVkX3VzZXJuYW1lIiwicHJlZmVycmVkX3VzZXJuYW1lIjoicHJlZmVyZWRfdXNlcm5hbWUiLCJwcm9maWxlIjoiaHR0cDovL3Byb2ZpbGUuaG9zdCIsInN1YiI6IjEiLCJ1cGRhdGVkX2F0IjoxNjUxOTE3ODEyLCJ1cGRhdGVzX2F0IjoidXBkYXRlc19hdCIsIndlYnNpdGUiOiJ3ZWJzaXRlIiwiem9uZWluZm8iOiJ6b25laW5mbyJ9.IRGr3Dq70guGqv72F9UjrNBKQG9ok7m1fi6SUr9xCvYQAnWKmSUNwSbGZMxqXGlqP8T6iAqazVXt_OkLtuLki2UeOtIIqq7ckzAyAYJp2VAuQu4EKa-6U8taux3IXiFImhV1Uay-XKH2v8KOYhEWFqqcocKSgR2yM3eY7fTyaK8","refresh_token":"1L5WBqEKLDVgckTACEHmqDlHcjC9tmwvs9b1LlztiYhfqOWv42FDnvhr5I7SfTyBAYgWgSeE2EK4JWkvXjnGLC","token_type":"bearer"}
2022-05-07 10:03:32 SUCCESS
CallTokenEndpoint
Parsed token endpoint response
access_token
nWIpfUn35ppP7WOoK76MnuQXBdf2SYVgebRmkhVrG5Kxl83pzRcqUX8AWdhZ7eCNlEYW01v1k9va7OZNLqJmvo
expires_in
86400
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoibk5fQ3dUUUU0ajVxMHZNN1FZbEVUZVlHQVo0OExrMUM1QU80Qk5kUjBxZyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiYmlydGhkYXRlIjoiMjAyMS0wOC0wMSIsImV4cCI6MTY1MjAwNDIxMiwiZmFtaWx5X25hbWUiOiJmYW1pbHlfbmFtZSIsImdlbmRlciI6ImdlbmRlciIsImdpdmVuX25hbWUiOiJnaXZlbl9uYW1lIiwiaWF0IjoxNjUxOTE3ODEyLCJpc3MiOiJodHRwczovL29hdXRoLmV4YW1wbGUuYm9ydXRhLnBhdGF0b2lkLmZyIiwibG9jYWxlIjoiRlIiLCJtaWRkbGVfbmFtZSI6Im1pZGRsZV9uYW1lIiwibmFtZSI6Im5hbWUiLCJuaWNrbmFtZSI6Im5pY2tuYW1lIiwibm9uY2UiOiI3OXRQUmszd000IiwicGljdHVyZSI6InBpY3R1cmUiLCJwcmVmZXJlZF91c2VybmFtZSI6InByZWZlcmVkX3VzZXJuYW1lIiwicHJlZmVycmVkX3VzZXJuYW1lIjoicHJlZmVyZWRfdXNlcm5hbWUiLCJwcm9maWxlIjoiaHR0cDovL3Byb2ZpbGUuaG9zdCIsInN1YiI6IjEiLCJ1cGRhdGVkX2F0IjoxNjUxOTE3ODEyLCJ1cGRhdGVzX2F0IjoidXBkYXRlc19hdCIsIndlYnNpdGUiOiJ3ZWJzaXRlIiwiem9uZWluZm8iOiJ6b25laW5mbyJ9.IRGr3Dq70guGqv72F9UjrNBKQG9ok7m1fi6SUr9xCvYQAnWKmSUNwSbGZMxqXGlqP8T6iAqazVXt_OkLtuLki2UeOtIIqq7ckzAyAYJp2VAuQu4EKa-6U8taux3IXiFImhV1Uay-XKH2v8KOYhEWFqqcocKSgR2yM3eY7fTyaK8
refresh_token
1L5WBqEKLDVgckTACEHmqDlHcjC9tmwvs9b1LlztiYhfqOWv42FDnvhr5I7SfTyBAYgWgSeE2EK4JWkvXjnGLC
token_type
bearer
2022-05-07 10:03:32 SUCCESS
CheckIfTokenEndpointResponseError
No error from token endpoint
2022-05-07 10:03:32 SUCCESS
CheckForAccessTokenValue
Found an access token
access_token
nWIpfUn35ppP7WOoK76MnuQXBdf2SYVgebRmkhVrG5Kxl83pzRcqUX8AWdhZ7eCNlEYW01v1k9va7OZNLqJmvo
2022-05-07 10:03:32 SUCCESS
ExtractAccessTokenFromTokenResponse
Extracted the access token
value
nWIpfUn35ppP7WOoK76MnuQXBdf2SYVgebRmkhVrG5Kxl83pzRcqUX8AWdhZ7eCNlEYW01v1k9va7OZNLqJmvo
type
bearer
2022-05-07 10:03:32 SUCCESS
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
expires_in
86400
2022-05-07 10:03:32 SUCCESS
ValidateExpiresIn
expires_in passed all validation checks
expires_in
86400
2022-05-07 10:03:32 SUCCESS
CheckForRefreshTokenValue
Found a refresh token
refresh_token
1L5WBqEKLDVgckTACEHmqDlHcjC9tmwvs9b1LlztiYhfqOWv42FDnvhr5I7SfTyBAYgWgSeE2EK4JWkvXjnGLC
2022-05-07 10:03:33 SUCCESS
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
value
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoibk5fQ3dUUUU0ajVxMHZNN1FZbEVUZVlHQVo0OExrMUM1QU80Qk5kUjBxZyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiYmlydGhkYXRlIjoiMjAyMS0wOC0wMSIsImV4cCI6MTY1MjAwNDIxMiwiZmFtaWx5X25hbWUiOiJmYW1pbHlfbmFtZSIsImdlbmRlciI6ImdlbmRlciIsImdpdmVuX25hbWUiOiJnaXZlbl9uYW1lIiwiaWF0IjoxNjUxOTE3ODEyLCJpc3MiOiJodHRwczovL29hdXRoLmV4YW1wbGUuYm9ydXRhLnBhdGF0b2lkLmZyIiwibG9jYWxlIjoiRlIiLCJtaWRkbGVfbmFtZSI6Im1pZGRsZV9uYW1lIiwibmFtZSI6Im5hbWUiLCJuaWNrbmFtZSI6Im5pY2tuYW1lIiwibm9uY2UiOiI3OXRQUmszd000IiwicGljdHVyZSI6InBpY3R1cmUiLCJwcmVmZXJlZF91c2VybmFtZSI6InByZWZlcmVkX3VzZXJuYW1lIiwicHJlZmVycmVkX3VzZXJuYW1lIjoicHJlZmVyZWRfdXNlcm5hbWUiLCJwcm9maWxlIjoiaHR0cDovL3Byb2ZpbGUuaG9zdCIsInN1YiI6IjEiLCJ1cGRhdGVkX2F0IjoxNjUxOTE3ODEyLCJ1cGRhdGVzX2F0IjoidXBkYXRlc19hdCIsIndlYnNpdGUiOiJ3ZWJzaXRlIiwiem9uZWluZm8iOiJ6b25laW5mbyJ9.IRGr3Dq70guGqv72F9UjrNBKQG9ok7m1fi6SUr9xCvYQAnWKmSUNwSbGZMxqXGlqP8T6iAqazVXt_OkLtuLki2UeOtIIqq7ckzAyAYJp2VAuQu4EKa-6U8taux3IXiFImhV1Uay-XKH2v8KOYhEWFqqcocKSgR2yM3eY7fTyaK8
header
{
  "typ": "JWT",
  "alg": "RS512"
}
claims
{
  "at_hash": "nN_CwTQE4j5q0vM7QYlETeYGAZ48Lk1C5AO4BNdR0qg",
  "sub": "1",
  "updates_at": "updates_at",
  "website": "website",
  "zoneinfo": "zoneinfo",
  "birthdate": "2021-08-01",
  "gender": "gender",
  "profile": "http://profile.host",
  "iss": "https://oauth.example.boruta.patatoid.fr",
  "preferred_username": "prefered_username",
  "given_name": "given_name",
  "locale": "FR",
  "middle_name": "middle_name",
  "nonce": "79tPRk3wM4",
  "picture": "picture",
  "aud": "6a2f41a3-c54c-fce8-32d2-0324e1c32e20",
  "updated_at": 1651917812,
  "auth_time": 1651917316,
  "name": "name",
  "nickname": "nickname",
  "exp": 1652004212,
  "family_name": "family_name",
  "iat": 1651917812,
  "prefered_username": "prefered_username"
}
2022-05-07 10:03:33 SUCCESS
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
2022-05-07 10:03:33 SUCCESS
ValidateIdTokenNonce
Nonce values match
nonce
79tPRk3wM4
2022-05-07 10:03:33 SUCCESS
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
2022-05-07 10:03:33 SUCCESS
ValidateIdTokenSignature
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoibk5fQ3dUUUU0ajVxMHZNN1FZbEVUZVlHQVo0OExrMUM1QU80Qk5kUjBxZyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiYmlydGhkYXRlIjoiMjAyMS0wOC0wMSIsImV4cCI6MTY1MjAwNDIxMiwiZmFtaWx5X25hbWUiOiJmYW1pbHlfbmFtZSIsImdlbmRlciI6ImdlbmRlciIsImdpdmVuX25hbWUiOiJnaXZlbl9uYW1lIiwiaWF0IjoxNjUxOTE3ODEyLCJpc3MiOiJodHRwczovL29hdXRoLmV4YW1wbGUuYm9ydXRhLnBhdGF0b2lkLmZyIiwibG9jYWxlIjoiRlIiLCJtaWRkbGVfbmFtZSI6Im1pZGRsZV9uYW1lIiwibmFtZSI6Im5hbWUiLCJuaWNrbmFtZSI6Im5pY2tuYW1lIiwibm9uY2UiOiI3OXRQUmszd000IiwicGljdHVyZSI6InBpY3R1cmUiLCJwcmVmZXJlZF91c2VybmFtZSI6InByZWZlcmVkX3VzZXJuYW1lIiwicHJlZmVycmVkX3VzZXJuYW1lIjoicHJlZmVyZWRfdXNlcm5hbWUiLCJwcm9maWxlIjoiaHR0cDovL3Byb2ZpbGUuaG9zdCIsInN1YiI6IjEiLCJ1cGRhdGVkX2F0IjoxNjUxOTE3ODEyLCJ1cGRhdGVzX2F0IjoidXBkYXRlc19hdCIsIndlYnNpdGUiOiJ3ZWJzaXRlIiwiem9uZWluZm8iOiJ6b25laW5mbyJ9.IRGr3Dq70guGqv72F9UjrNBKQG9ok7m1fi6SUr9xCvYQAnWKmSUNwSbGZMxqXGlqP8T6iAqazVXt_OkLtuLki2UeOtIIqq7ckzAyAYJp2VAuQu4EKa-6U8taux3IXiFImhV1Uay-XKH2v8KOYhEWFqqcocKSgR2yM3eY7fTyaK8
2022-05-07 10:03:33 SUCCESS
ValidateIdTokenSignatureUsingKid
id_token signature validated
id_token
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdF9oYXNoIjoibk5fQ3dUUUU0ajVxMHZNN1FZbEVUZVlHQVo0OExrMUM1QU80Qk5kUjBxZyIsImF1ZCI6IjZhMmY0MWEzLWM1NGMtZmNlOC0zMmQyLTAzMjRlMWMzMmUyMCIsImF1dGhfdGltZSI6MTY1MTkxNzMxNiwiYmlydGhkYXRlIjoiMjAyMS0wOC0wMSIsImV4cCI6MTY1MjAwNDIxMiwiZmFtaWx5X25hbWUiOiJmYW1pbHlfbmFtZSIsImdlbmRlciI6ImdlbmRlciIsImdpdmVuX25hbWUiOiJnaXZlbl9uYW1lIiwiaWF0IjoxNjUxOTE3ODEyLCJpc3MiOiJodHRwczovL29hdXRoLmV4YW1wbGUuYm9ydXRhLnBhdGF0b2lkLmZyIiwibG9jYWxlIjoiRlIiLCJtaWRkbGVfbmFtZSI6Im1pZGRsZV9uYW1lIiwibmFtZSI6Im5hbWUiLCJuaWNrbmFtZSI6Im5pY2tuYW1lIiwibm9uY2UiOiI3OXRQUmszd000IiwicGljdHVyZSI6InBpY3R1cmUiLCJwcmVmZXJlZF91c2VybmFtZSI6InByZWZlcmVkX3VzZXJuYW1lIiwicHJlZmVycmVkX3VzZXJuYW1lIjoicHJlZmVyZWRfdXNlcm5hbWUiLCJwcm9maWxlIjoiaHR0cDovL3Byb2ZpbGUuaG9zdCIsInN1YiI6IjEiLCJ1cGRhdGVkX2F0IjoxNjUxOTE3ODEyLCJ1cGRhdGVzX2F0IjoidXBkYXRlc19hdCIsIndlYnNpdGUiOiJ3ZWJzaXRlIiwiem9uZWluZm8iOiJ6b25laW5mbyJ9.IRGr3Dq70guGqv72F9UjrNBKQG9ok7m1fi6SUr9xCvYQAnWKmSUNwSbGZMxqXGlqP8T6iAqazVXt_OkLtuLki2UeOtIIqq7ckzAyAYJp2VAuQu4EKa-6U8taux3IXiFImhV1Uay-XKH2v8KOYhEWFqqcocKSgR2yM3eY7fTyaK8
2022-05-07 10:03:33 SUCCESS
CheckForSubjectInIdToken
Found 'sub' in id_token
sub
1
2022-05-07 10:03:33 INFO
FAPIValidateEncryptedIdTokenHasKid
Skipped evaluation due to missing required element: id_token jwe_header
path
jwe_header
mapped
object
id_token
Userinfo endpoint tests
2022-05-07 10:03:33
CallProtectedResource
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer nWIpfUn35ppP7WOoK76MnuQXBdf2SYVgebRmkhVrG5Kxl83pzRcqUX8AWdhZ7eCNlEYW01v1k9va7OZNLqJmvo",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:03:33 RESPONSE
CallProtectedResource
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:33 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "411",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "a64a24e535780c2cd4719c41a8dd7aac",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1","birthdate":"2021-08-01","family_name":"family_name","gender":"gender","given_name":"given_name","locale":"FR","middle_name":"middle_name","name":"name","nickname":"nickname","picture":"picture","prefered_username":"prefered_username","preferred_username":"prefered_username","profile":"http://profile.host","updated_at":1651917813,"updates_at":"updates_at","website":"website","zoneinfo":"zoneinfo"}
2022-05-07 10:03:33 SUCCESS
CallProtectedResource
Got a response from the resource endpoint
status
200
endpoint_name
resource
headers
{
  "date": "Sat, 07 May 2022 10:03:33 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "411",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "a64a24e535780c2cd4719c41a8dd7aac",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
body
{"sub":"1","birthdate":"2021-08-01","family_name":"family_name","gender":"gender","given_name":"given_name","locale":"FR","middle_name":"middle_name","name":"name","nickname":"nickname","picture":"picture","prefered_username":"prefered_username","preferred_username":"prefered_username","profile":"http://profile.host","updated_at":1651917813,"updates_at":"updates_at","website":"website","zoneinfo":"zoneinfo"}
2022-05-07 10:03:33 SUCCESS
EnsureHttpStatusCodeIs200
resource endpoint returned the expected http status
expected_status
200
http_status
200
2022-05-07 10:03:33
CallUserInfoEndpointWithBearerToken
HTTP request
request_uri
https://oauth.example.boruta.patatoid.fr/openid/userinfo
request_method
GET
request_headers
{
  "accept": "application/json",
  "authorization": "Bearer nWIpfUn35ppP7WOoK76MnuQXBdf2SYVgebRmkhVrG5Kxl83pzRcqUX8AWdhZ7eCNlEYW01v1k9va7OZNLqJmvo",
  "content-length": "0"
}
request_body

                                
2022-05-07 10:03:33 RESPONSE
CallUserInfoEndpointWithBearerToken
HTTP response
response_status_code
200 OK
response_status_text
OK
response_headers
{
  "date": "Sat, 07 May 2022 10:03:33 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "411",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "40ce99b49b7e28970a50a969c6288d05",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
response_body
{"sub":"1","birthdate":"2021-08-01","family_name":"family_name","gender":"gender","given_name":"given_name","locale":"FR","middle_name":"middle_name","name":"name","nickname":"nickname","picture":"picture","prefered_username":"prefered_username","preferred_username":"prefered_username","profile":"http://profile.host","updated_at":1651917813,"updates_at":"updates_at","website":"website","zoneinfo":"zoneinfo"}
2022-05-07 10:03:33 SUCCESS
CallUserInfoEndpointWithBearerToken
Got a response from the userinfo endpoint
headers
{
  "date": "Sat, 07 May 2022 10:03:33 GMT",
  "content-type": "application/json; charset\u003dutf-8",
  "content-length": "411",
  "connection": "keep-alive",
  "cache-control": "max-age\u003d0, private, must-revalidate",
  "x-request-id": "40ce99b49b7e28970a50a969c6288d05",
  "strict-transport-security": "max-age\u003d15724800; includeSubDomains"
}
status_code
{
  "code": 200
}
body
{"sub":"1","birthdate":"2021-08-01","family_name":"family_name","gender":"gender","given_name":"given_name","locale":"FR","middle_name":"middle_name","name":"name","nickname":"nickname","picture":"picture","prefered_username":"prefered_username","preferred_username":"prefered_username","profile":"http://profile.host","updated_at":1651917813,"updates_at":"updates_at","website":"website","zoneinfo":"zoneinfo"}
2022-05-07 10:03:33 SUCCESS
ExtractUserInfoFromUserInfoEndpointResponse
Extracted user info
userinfo
{
  "sub": "1",
  "birthdate": "2021-08-01",
  "family_name": "family_name",
  "gender": "gender",
  "given_name": "given_name",
  "locale": "FR",
  "middle_name": "middle_name",
  "name": "name",
  "nickname": "nickname",
  "picture": "picture",
  "prefered_username": "prefered_username",
  "preferred_username": "prefered_username",
  "profile": "http://profile.host",
  "updated_at": 1651917813,
  "updates_at": "updates_at",
  "website": "website",
  "zoneinfo": "zoneinfo"
}
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
sub is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
birthdate is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
family_name is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
gender is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
given_name is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
locale is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
middle_name is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
name is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
nickname is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
picture is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
Skipping unknown claim: prefered_username
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
preferred_username is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
profile is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
updated_at is a number
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
Skipping unknown claim: updates_at
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
website is a string
2022-05-07 10:03:33
ValidateUserInfoStandardClaims
zoneinfo is a string
2022-05-07 10:03:33 SUCCESS
ValidateUserInfoStandardClaims
Userinfo is valid
2022-05-07 10:03:33 SUCCESS
EnsureUserInfoContainsSub
Found sub in userinfo
sub
1
2022-05-07 10:03:33 SUCCESS
EnsureUserInfoBirthDateValid
Format of 'birthdate' in userinfo response is valid
birthdate
2021-08-01
2022-05-07 10:03:33 SUCCESS
EnsureUserInfoUpdatedAtValid
'updated_at' in userinfo response seems to be a valid time
updated_at
"May 7, 2022, 10:03:33 AM"
now
"May 7, 2022, 10:03:33 AM"
2022-05-07 10:03:33
EnsureMemberValuesInClaimNameReferenceToMemberNamesInClaimSources
userinfo response does not contain '_claim_names' nor _claim_sources'
2022-05-07 10:03:33 SUCCESS
VerifyUserInfoAndIdTokenInTokenEndpointSameSub
userinfo response and id_token sub are the same
sub_user_info
1
sub_id_token
1
2022-05-07 10:03:33 SUCCESS
VerifyScopesReturnedInUserInfoClaims
'claims' in userinfo contains all scope items of scope in authorization request (corresponds to scope standard claims)
actual_scope_items
[
  "sub",
  "birthdate",
  "family_name",
  "gender",
  "given_name",
  "locale",
  "middle_name",
  "name",
  "nickname",
  "picture",
  "prefered_username",
  "preferred_username",
  "profile",
  "updated_at",
  "updates_at",
  "website",
  "zoneinfo"
]
expected_scope_items
[
  "sub",
  "name",
  "given_name",
  "family_name",
  "middle_name",
  "nickname",
  "profile",
  "picture",
  "website",
  "gender",
  "birthdate",
  "zoneinfo",
  "locale",
  "updated_at",
  "preferred_username"
]
2022-05-07 10:03:33 FINISHED
oidcc-scope-profile
Test has run to completion
testmodule_result
PASSED
Unregister dynamically registered client
2022-05-07 10:03:33
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
2022-05-07 10:03:36
TEST-RUNNER
Alias has now been claimed by another test
alias
boruta_example
new_test_id
JAKCRMvFrAWA5lD
Test Results