Test Name | oidcc-ensure-request-without-nonce-fails |
---|---|
Variant | client_auth_type=client_secret_basic, server_metadata=discovery, response_type=code id_token token, response_mode=form_post, client_registration=dynamic_client |
Test ID | yS771OnQvfzKmh5 https://www.certification.openid.net/log-detail.html?public=true&log=yS771OnQvfzKmh5 |
Created | 2023-03-11T03:43:34.489327Z |
Description | Gluu, Inc. |
Test Version | 5.1.0 |
Test Owner | 13228520 https://gitlab.com |
Plan ID | YXNa2Uz3Jl7Dm https://www.certification.openid.net/plan-detail.html?public=true&plan=YXNa2Uz3Jl7Dm |
Exported From | https://www.certification.openid.net |
Exported By | 13228520 https://gitlab.com |
Suite Version | 5.1.0 |
Exported | 2023-03-12 21:02:15 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 38 FAILURE 0 WARNING 0 REVIEW 1 INFO 1 |
2023-03-11 03:43:34 |
INFO
|
TEST-RUNNER
Test instance yS771OnQvfzKmh5 created
|
||||||||||||||
|
2023-03-11 03:43:34 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2023-03-11 03:43:34 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2023-03-11 03:43:34 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2023-03-11 03:43:34 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2023-03-11 03:43:34 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2023-03-11 03:43:34 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2023-03-11 03:43:34 |
|
FetchServerKeys
Fetching server key
|
||
|
2023-03-11 03:43:34 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2023-03-11 03:43:34 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2023-03-11 03:43:34 |
|
FetchServerKeys
Found JWK set string
|
||
|
2023-03-11 03:43:34 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2023-03-11 03:43:34 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2023-03-11 03:43:34 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2023-03-11 03:43:34 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2023-03-11 03:43:34 | SUCCESS |
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
|
||
|
2023-03-11 03:43:34 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2023-03-11 03:43:34 |
|
StoreOriginalClientConfiguration
Created original_client_config object from the client configuration.
|
||
|
2023-03-11 03:43:34 |
|
ExtractClientNameFromStoredConfig
Extracted client_name from stored client configuration.
|
||
|
2023-03-11 03:43:35 |
SUCCESS
|
GenerateRS256ClientJWKs
Generated client JWKs
|
||||
|
2023-03-11 03:43:35 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2023-03-11 03:43:35 |
|
CreateEmptyDynamicRegistrationRequest
Created empty dynamic registration request
|
|
2023-03-11 03:43:35 |
|
AddClientNameToDynamicRegistrationRequest
Added client_name to registration request
|
||
|
2023-03-11 03:43:35 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2023-03-11 03:43:35 |
|
AddImplicitGrantTypeToDynamicRegistrationRequest
Added 'implicit' to 'grant_types'
|
||
|
2023-03-11 03:43:35 |
|
AddPublicJwksToDynamicRegistrationRequest
Added client public JWKS to dynamic registration request
|
||
|
2023-03-11 03:43:35 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2023-03-11 03:43:35 |
|
AddResponseTypesArrayToDynamicRegistrationRequestFromEnvironment
Added response_types array to dynamic registration request
|
||
|
2023-03-11 03:43:35 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2023-03-11 03:43:35 |
|
AddContactsToDynamicRegistrationRequest
Added contacts array to dynamic registration request
|
||
|
2023-03-11 03:43:35 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||
|
2023-03-11 03:43:35 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2023-03-11 03:43:35 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||
|
2023-03-11 03:43:35 | SUCCESS |
EnsureContentTypeJson
endpoint_response Content-Type: header is application/json
|
|
2023-03-11 03:43:35 | SUCCESS |
EnsureHttpStatusCodeIs201
dynamic registration endpoint returned the expected http status
|
||||
|
2023-03-11 03:43:35 | SUCCESS |
CheckNoErrorFromDynamicRegistrationEndpoint
Dynamic registration endpoint did not return an error.
|
|
2023-03-11 03:43:35 | SUCCESS |
ExtractDynamicRegistrationResponse
Extracted client from dynamic registration response
|
||
|
2023-03-11 03:43:35 | SUCCESS |
VerifyClientManagementCredentials
Verified dynamic registration management credentials
|
||||
|
2023-03-11 03:43:35 |
|
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
|
||
|
2023-03-11 03:43:35 |
SUCCESS
|
EnsureServerConfigurationSupportsClientSecretBasic
Contents of 'token_endpoint_auth_methods_supported' in discovery document matches expectations.
|
||||||
|
2023-03-11 03:43:35 |
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.
|
||
|
2023-03-11 03:43:35 |
|
oidcc-ensure-request-without-nonce-fails
Setup Done
|
|
Make request to authorization endpoint |
2023-03-11 03:43:35 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2023-03-11 03:43:35 |
|
CreateRandomStateValue
Created state value
|
||||
|
2023-03-11 03:43:35 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2023-03-11 03:43:35 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2023-03-11 03:43:35 |
|
AddNonceToAuthorizationEndpointRequest
NOT adding nonce to request object
|
|
2023-03-11 03:43:35 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
|
||||||||||
|
2023-03-11 03:43:35 |
|
SetAuthorizationEndpointRequestResponseModeToFormPost
Added response_mode parameter to request
|
||||||||||||
|
2023-03-11 03:43:35 |
SUCCESS
|
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||||
|
2023-03-11 03:43:35 |
REDIRECT
|
oidcc-ensure-request-without-nonce-fails
Redirecting to authorization endpoint
|
||
|
2023-03-11 03:43:35 | REVIEW |
ExpectRequestMissingNonceErrorPage
If the server does not return an invalid_request error back to the client, it must show an error page saying the request is invalid as it is missing the 'nonce' claim - upload a screenshot of the error page.
|
||
|
2023-03-11 03:43:38 |
INCOMING
|
oidcc-ensure-request-without-nonce-fails
Incoming HTTP request to /test/yS771OnQvfzKmh5/callback
|
||||||||||||||||||||||
|
2023-03-11 03:43:38 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2023-03-11 03:43:38 |
OUTGOING
|
oidcc-ensure-request-without-nonce-fails
Response to HTTP request to test instance yS771OnQvfzKmh5
|
||||
|
2023-03-11 03:43:39 |
INCOMING
|
oidcc-ensure-request-without-nonce-fails
Incoming HTTP request to /test/yS771OnQvfzKmh5/implicit/kliAWbXdcl8zO1hLJDBe
|
||||||||||||||||||||||
|
2023-03-11 03:43:39 |
OUTGOING
|
oidcc-ensure-request-without-nonce-fails
Response to HTTP request to test instance yS771OnQvfzKmh5
|
||||||||
|
2023-03-11 03:43:39 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2023-03-11 03:43:39 |
REDIRECT-IN
|
oidcc-ensure-request-without-nonce-fails
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2023-03-11 03:43:39 | SUCCESS |
CheckCallbackHttpMethodIsPost
HTTP method used at redirect_uri is 'POST'
|
|
2023-03-11 03:43:39 | SUCCESS |
CheckCallbackContentTypeIsFormUrlEncoded
content-type header to redirect_uri has the expected value
|
||||
|
2023-03-11 03:43:39 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2023-03-11 03:43:39 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2023-03-11 03:43:39 |
SUCCESS
|
CheckStateInAuthorizationResponse
State in response correctly returned
|
||
|
2023-03-11 03:43:39 |
|
ValidateIssInAuthorizationResponse
No 'iss' value in authorization response.
|
|
2023-03-11 03:43:39 | SUCCESS |
EnsureErrorFromAuthorizationEndpointResponse
Authorization endpoint returned an error
|
||||||
|
2023-03-11 03:43:39 | SUCCESS |
RejectAuthCodeInAuthorizationEndpointResponse
Authorization code is not present in authorization endpoint response
|
|
2023-03-11 03:43:39 | SUCCESS |
CheckForUnexpectedParametersInErrorResponseFromAuthorizationEndpoint
error response includes only expected parameters
|
||||||
|
2023-03-11 03:43:39 | SUCCESS |
CheckErrorDescriptionFromAuthorizationEndpointResponseErrorContainsCRLFTAB
authorization_endpoint_response 'error_description' field does not include CR/LF/TAB
|
||
|
2023-03-11 03:43:39 | SUCCESS |
ValidateErrorDescriptionFromAuthorizationEndpointResponseError
authorization_endpoint_response error returned valid 'error_description' field
|
||
|
2023-03-11 03:43:39 | SUCCESS |
ValidateErrorUriFromAuthorizationEndpointResponseError
authorization_endpoint_response did not include optional 'error_uri' field
|
|
2023-03-11 03:43:39 | SUCCESS |
CheckErrorFromAuthorizationEndpointErrorInvalidRequest
Authorization endpoint returned expected error
|
||||
|
2023-03-11 03:43:39 |
FINISHED
|
oidcc-ensure-request-without-nonce-fails
Test has run to completion
|
||
|
Unregister dynamically registered client |
2023-03-11 03:43:39 |
|
UnregisterDynamicallyRegisteredClient
HTTP request
|
||||||||
|
2023-03-11 03:43:39 |
RESPONSE
|
UnregisterDynamicallyRegisteredClient
HTTP response
|
||||||||
|
2023-03-11 03:43:39 |
SUCCESS
|
UnregisterDynamicallyRegisteredClient
Client successfully unregistered
|
|