Test Name | oidcc-ensure-request-without-nonce-succeeds-for-code-flow |
---|---|
Variant | client_auth_type=client_secret_basic, server_metadata=discovery, response_type=code, response_mode=default, client_registration=dynamic_client |
Test ID | DNUCFqyvrReYMID https://www.certification.openid.net/log-detail.html?public=true&log=DNUCFqyvrReYMID |
Created | 2022-10-23T21:22:40.032486Z |
Description | basic certification openid config test |
Test Version | 5.0.5 |
Test Owner | 970464 https://gitlab.com |
Plan ID | NDGuZJf3Apgbx https://www.certification.openid.net/plan-detail.html?public=true&plan=NDGuZJf3Apgbx |
Exported From | https://www.certification.openid.net |
Exported By | 970464 https://gitlab.com |
Suite Version | 5.0.7 |
Exported | 2022-12-04 15:16:23 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 28 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2022-10-23 21:22:40 |
INFO
|
TEST-RUNNER
Test instance DNUCFqyvrReYMID created
|
||||||||||||||
|
2022-10-23 21:22:40 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-10-23 21:22:40 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-10-23 21:22:40 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-10-23 21:22:40 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||
|
2022-10-23 21:22:40 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-10-23 21:22:40 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2022-10-23 21:22:40 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-10-23 21:22:40 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-10-23 21:22:40 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-10-23 21:22:40 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-10-23 21:22:40 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-10-23 21:22:40 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-10-23 21:22:40 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-10-23 21:22:40 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-10-23 21:22:40 | SUCCESS |
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
|
||
|
2022-10-23 21:22:40 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-10-23 21:22:40 |
|
StoreOriginalClientConfiguration
Created original_client_config object from the client configuration.
|
||
|
2022-10-23 21:22:40 |
|
ExtractClientNameFromStoredConfig
Extracted client_name from stored client configuration.
|
||
|
2022-10-23 21:22:40 |
SUCCESS
|
GenerateRS256ClientJWKs
Generated client JWKs
|
||||
|
2022-10-23 21:22:40 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-10-23 21:22:40 |
|
CreateEmptyDynamicRegistrationRequest
Created empty dynamic registration request
|
|
2022-10-23 21:22:40 |
|
AddClientNameToDynamicRegistrationRequest
Added client_name to registration request
|
||
|
2022-10-23 21:22:40 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2022-10-23 21:22:40 |
|
AddPublicJwksToDynamicRegistrationRequest
Added client public JWKS to dynamic registration request
|
||
|
2022-10-23 21:22:40 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2022-10-23 21:22:40 |
|
AddResponseTypesArrayToDynamicRegistrationRequestFromEnvironment
Added response_types array to dynamic registration request
|
||
|
2022-10-23 21:22:40 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2022-10-23 21:22:40 |
|
AddContactsToDynamicRegistrationRequest
Added contacts array to dynamic registration request
|
||
|
2022-10-23 21:22:40 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||
|
2022-10-23 21:22:43 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2022-10-23 21:22:43 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||
|
2022-10-23 21:22:43 | SUCCESS |
EnsureContentTypeJson
endpoint_response Content-Type: header is application/json
|
|
2022-10-23 21:22:43 | SUCCESS |
EnsureHttpStatusCodeIs201
dynamic registration endpoint returned the expected http status
|
||||
|
2022-10-23 21:22:43 | SUCCESS |
CheckNoErrorFromDynamicRegistrationEndpoint
Dynamic registration endpoint did not return an error.
|
|
2022-10-23 21:22:43 | SUCCESS |
ExtractDynamicRegistrationResponse
Extracted client from dynamic registration response
|
||
|
2022-10-23 21:22:43 |
|
VerifyClientManagementCredentials
Dynamic registration returned neither registration_client_uri nor registration_access_token
|
|
2022-10-23 21:22:43 |
|
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
|
||
|
2022-10-23 21:22:43 |
SUCCESS
|
EnsureServerConfigurationSupportsClientSecretBasic
Contents of 'token_endpoint_auth_methods_supported' in discovery document matches expectations.
|
||||||
|
2022-10-23 21:22:43 |
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.
|
||
|
2022-10-23 21:22:43 |
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Setup Done
|
|
Make request to authorization endpoint |
2022-10-23 21:22:43 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2022-10-23 21:22:43 |
|
CreateRandomStateValue
Created state value
|
||||
|
2022-10-23 21:22:43 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2022-10-23 21:22:43 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2022-10-23 21:22:43 |
|
AddNonceToAuthorizationEndpointRequest
NOT adding nonce to request object
|
|
2022-10-23 21:22:43 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
|
||||||||||
|
2022-10-23 21:22:43 |
SUCCESS
|
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||||
|
2022-10-23 21:22:43 |
REDIRECT
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Redirecting to authorization endpoint
|
||
|
2022-10-23 21:22:59 |
INCOMING
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Incoming HTTP request to /test/a/rodauth-oauth-basic-certification/callback
|
||||||||||||||||||||||
|
2022-10-23 21:22:59 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2022-10-23 21:22:59 |
OUTGOING
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Response to HTTP request to test instance DNUCFqyvrReYMID
|
||||
|
2022-10-23 21:23:00 |
INCOMING
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Incoming HTTP request to /test/a/rodauth-oauth-basic-certification/implicit/kHotHuVdmwr7IP8B4gGx
|
||||||||||||||||||||||
|
2022-10-23 21:23:00 |
OUTGOING
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Response to HTTP request to test instance DNUCFqyvrReYMID
|
||||||||
|
2022-10-23 21:23:00 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2022-10-23 21:23:00 |
REDIRECT-IN
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2022-10-23 21:23:00 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2022-10-23 21:23:00 |
|
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
|
|
2022-10-23 21:23:00 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2022-10-23 21:23:00 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2022-10-23 21:23:00 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2022-10-23 21:23:00 |
FINISHED
|
oidcc-ensure-request-without-nonce-succeeds-for-code-flow
Test has run to completion
|
||
|
Unregister dynamically registered client |
2022-10-23 21:23:00 |
|
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
|
|
2022-10-23 21:23:30 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|