Test Name | oidcc-ensure-request-with-valid-pkce-succeeds |
---|---|
Variant | client_auth_type=client_secret_basic, server_metadata=discovery, response_type=code, response_mode=default, client_registration=static_client |
Test ID | 5wYE1fiY7J6BAKk https://www.certification.openid.net/log-detail.html?public=true&log=5wYE1fiY7J6BAKk |
Created | 2021-07-07T14:13:41.157085Z |
Description | signcat-auth-test |
Test Version | 4.1.18 |
Test Owner | 5643269 https://gitlab.com |
Plan ID | u3Z7JqEKjenBJ https://www.certification.openid.net/plan-detail.html?public=true&plan=u3Z7JqEKjenBJ |
Exported From | https://www.certification.openid.net |
Exported By | 5643269 https://gitlab.com |
Suite Version | 4.1.25 |
Exported | 2021-08-20 15:01:16 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 41 FAILURE 0 WARNING 0 REVIEW 0 INFO 6 |
2021-07-07 14:13:41 |
INFO
|
TEST-RUNNER
Test instance 5wYE1fiY7J6BAKk created
|
||||||||||||||
|
2021-07-07 14:13:41 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2021-07-07 14:13:41 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2021-07-07 14:13:41 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2021-07-07 14:13:41 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2021-07-07 14:13:41 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-07-07 14:13:41 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2021-07-07 14:13:41 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2021-07-07 14:13:41 |
|
FetchServerKeys
Fetching server key
|
||
|
2021-07-07 14:13:41 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2021-07-07 14:13:42 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2021-07-07 14:13:42 |
|
FetchServerKeys
Found JWK set string
|
||
|
2021-07-07 14:13:42 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2021-07-07 14:13:42 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2021-07-07 14:13:42 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2021-07-07 14:13:42 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2021-07-07 14:13:42 | SUCCESS |
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
|
||
|
2021-07-07 14:13:42 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2021-07-07 14:13:42 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||
|
2021-07-07 14:13:42 | INFO |
ValidateClientJWKsPrivatePart
Skipped evaluation due to missing required element: client jwks
|
||||||
|
2021-07-07 14:13:42 |
INFO
|
ExtractJWKsFromStaticClientConfiguration
Skipped evaluation due to missing required element: client jwks
|
||||||
|
2021-07-07 14:13:42 | INFO |
CheckDistinctKeyIdValueInClientJWKs
Skipped evaluation due to missing required element: client jwks
|
||||||
|
2021-07-07 14:13:42 |
|
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
|
||
|
2021-07-07 14:13:42 |
SUCCESS
|
EnsureServerConfigurationSupportsClientSecretBasic
Contents of 'token_endpoint_auth_methods_supported' in discovery document matches expectations.
|
||||||
|
2021-07-07 14:13:42 |
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.
|
||
|
2021-07-07 14:13:42 |
|
oidcc-ensure-request-with-valid-pkce-succeeds
Setup Done
|
|
Make request to authorization endpoint |
2021-07-07 14:13:42 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2021-07-07 14:13:42 |
|
CreateRandomStateValue
Created state value
|
||||
|
2021-07-07 14:13:42 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2021-07-07 14:13:42 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2021-07-07 14:13:42 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||
|
2021-07-07 14:13:42 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
|
||||||||||||
|
2021-07-07 14:13:42 |
|
CreateRandomCodeVerifier
Created code_verifier value
|
||
|
2021-07-07 14:13:42 |
|
CreateS256CodeChallenge
Created code_challenge value
|
||
|
2021-07-07 14:13:42 | SUCCESS |
AddCodeChallengeToAuthorizationEndpointRequest
Added code_challenge and code_challenge_method parameters to request
|
||||||||||||||||
|
2021-07-07 14:13:42 |
SUCCESS
|
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2021-07-07 14:13:42 |
REDIRECT
|
oidcc-ensure-request-with-valid-pkce-succeeds
Redirecting to authorization endpoint
|
||
|
2021-07-07 14:13:45 |
INCOMING
|
oidcc-ensure-request-with-valid-pkce-succeeds
Incoming HTTP request to test instance 5wYE1fiY7J6BAKk
|
||||||||||||||
|
2021-07-07 14:13:45 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2021-07-07 14:13:45 |
OUTGOING
|
oidcc-ensure-request-with-valid-pkce-succeeds
Response to HTTP request to test instance 5wYE1fiY7J6BAKk
|
||||
|
2021-07-07 14:13:46 |
INCOMING
|
oidcc-ensure-request-with-valid-pkce-succeeds
Incoming HTTP request to test instance 5wYE1fiY7J6BAKk
|
||||||||||||||
|
2021-07-07 14:13:46 |
OUTGOING
|
oidcc-ensure-request-with-valid-pkce-succeeds
Response to HTTP request to test instance 5wYE1fiY7J6BAKk
|
||||||||
|
2021-07-07 14:13:46 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2021-07-07 14:13:46 |
REDIRECT-IN
|
oidcc-ensure-request-with-valid-pkce-succeeds
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2021-07-07 14:13:46 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2021-07-07 14:13:46 |
|
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
|
|
2021-07-07 14:13:46 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2021-07-07 14:13:46 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2021-07-07 14:13:46 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2021-07-07 14:13:46 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2021-07-07 14:13:46 |
SUCCESS
|
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
|
||
|
2021-07-07 14:13:46 |
|
AddCodeVerifierToTokenEndpointRequest
|
||||||||
|
2021-07-07 14:13:46 |
|
CallTokenEndpoint
HTTP request
|
||||||||
|
2021-07-07 14:13:46 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2021-07-07 14:13:46 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2021-07-07 14:13:46 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||||
|
2021-07-07 14:13:46 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2021-07-07 14:13:46 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2021-07-07 14:13:46 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2021-07-07 14:13:46 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2021-07-07 14:13:46 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2021-07-07 14:13:46 |
INFO
|
CheckForRefreshTokenValue
Couldn't find refresh token
|
|
2021-07-07 14:13:46 | SUCCESS |
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
|
||||||
|
2021-07-07 14:13:46 |
SUCCESS
|
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2021-07-07 14:13:46 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2021-07-07 14:13:46 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
|
|
2021-07-07 14:13:46 |
SUCCESS
|
ValidateIdTokenSignature
id_token signature validated
|
||
|
2021-07-07 14:13:46 |
SUCCESS
|
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2021-07-07 14:13:46 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
Userinfo endpoint tests |
2021-07-07 14:13:46 |
|
CallProtectedResourceWithBearerToken
HTTP request
|
||||||||
|
2021-07-07 14:13:47 |
RESPONSE
|
CallProtectedResourceWithBearerToken
HTTP response
|
||||||||
|
2021-07-07 14:13:47 |
SUCCESS
|
CallProtectedResourceWithBearerToken
Got a response from the resource endpoint
|
||||||
|
2021-07-07 14:13:47 |
FINISHED
|
oidcc-ensure-request-with-valid-pkce-succeeds
Test has run to completion
|
||
|
Unregister dynamically registered client |
2021-07-07 14:13:47 |
INFO
|
UnregisterDynamicallyRegisteredClient
Skipped evaluation due to missing required string: registration_client_uri
|
||
|
2021-07-07 14:14:01 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|