Test Name | oidcc-userinfo-post-body |
---|---|
Variant | client_secret_basic, discovery, code token, form_post, dynamic_client |
Test ID | cilWCSLQTWGL9nQ |
Created | 2020-08-27T14:17:24.866279Z |
Description | Gluu Authorization Server |
Test Version | 4.1.0 |
Test Owner | 103838475094864505904 https://accounts.google.com |
Plan ID | OEzJNLCxjoCB1 |
Exported From | https://www.certification.openid.net |
Exported By | 103838475094864505904 https://accounts.google.com |
Suite Version | 4.1.0 |
Exported | 2020-08-28 13:38:13 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 57 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2020-08-27 14:17:24 |
INFO
|
TEST-RUNNER
Test instance cilWCSLQTWGL9nQ created
|
||||||||||||||
|
2020-08-27 14:17:24 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2020-08-27 14:17:24 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2020-08-27 14:17:25 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2020-08-27 14:17:25 |
|
GetDynamicServerConfiguration
Downloaded server configuration
|
||
|
2020-08-27 14:17:25 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2020-08-27 14:17:25 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2020-08-27 14:17:25 |
SUCCESS
|
ExtractTLSTestValuesFromServerConfiguration
Extracted TLS information from authorization server configuration
|
||||||||
|
2020-08-27 14:17:25 |
|
FetchServerKeys
Fetching server key
|
||
|
2020-08-27 14:17:25 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2020-08-27 14:17:25 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2020-08-27 14:17:25 |
|
FetchServerKeys
Found JWK set string
|
||
|
2020-08-27 14:17:25 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2020-08-27 14:17:25 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2020-08-27 14:17:25 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2020-08-27 14:17:25 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2020-08-27 14:17:25 | SUCCESS |
CheckDistinctKeyIdValueInServerJWKs
Distinct 'kid' value in all keys of server_jwks
|
||
|
2020-08-27 14:17:25 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2020-08-27 14:17:25 |
SUCCESS
|
GetDynamicClientConfiguration
Created dynamic_client_registration_template object from the client configuration.
|
||||||||||||
|
2020-08-27 14:17:25 |
SUCCESS
|
GenerateRS256ClientJWKs
Generated client JWKs
|
||||
|
2020-08-27 14:17:25 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2020-08-27 14:17:25 |
SUCCESS
|
CreateDynamicRegistrationRequest
Created dynamic registration request
|
||
|
2020-08-27 14:17:25 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2020-08-27 14:17:25 |
|
AddImplicitGrantTypeToDynamicRegistrationRequest
Added 'implicit' to 'grant_types'
|
||
|
2020-08-27 14:17:25 |
|
AddPublicJwksToDynamicRegistrationRequest
Added client public JWKS to dynamic registration request
|
||
|
2020-08-27 14:17:25 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2020-08-27 14:17:25 |
|
AddResponseTypesArrayToDynamicRegistrationRequestFromEnvironment
Added response_types array to dynamic registration request
|
||
|
2020-08-27 14:17:25 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2020-08-27 14:17:25 |
|
AddContactsToDynamicRegistrationRequest
Added contacts array to dynamic registration request
|
||
|
2020-08-27 14:17:25 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||
|
2020-08-27 14:17:26 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2020-08-27 14:17:26 |
|
CallDynamicRegistrationEndpoint
Registration endpoint response
|
||
|
2020-08-27 14:17:26 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2020-08-27 14:17:26 |
SUCCESS
|
CallDynamicRegistrationEndpoint
Extracted dynamic registration management credentials
|
||||
|
2020-08-27 14:17:26 |
|
SetScopeInClientConfigurationToOpenId
Set scope in client configuration to "openid"
|
||
|
2020-08-27 14:17:26 |
SUCCESS
|
EnsureServerConfigurationSupportsClientSecretBasic
token_endpoint_auth_methods_supported
|
||||||
|
2020-08-27 14:17:26 |
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.
|
||
|
2020-08-27 14:17:26 |
|
oidcc-userinfo-post-body
Setup Done
|
|
Make request to authorization endpoint |
2020-08-27 14:17:26 |
SUCCESS
|
CreateAuthorizationEndpointRequestFromClientInformation
Created authorization endpoint request
|
||||||
|
2020-08-27 14:17:26 |
|
CreateRandomStateValue
Created state value
|
||||
|
2020-08-27 14:17:26 |
SUCCESS
|
AddStateToAuthorizationEndpointRequest
Added state parameter to request
|
||||||||
|
2020-08-27 14:17:26 |
|
CreateRandomNonceValue
Created nonce value
|
||||
|
2020-08-27 14:17:26 |
SUCCESS
|
AddNonceToAuthorizationEndpointRequest
Added nonce parameter to request
|
||||||||||
|
2020-08-27 14:17:26 |
SUCCESS
|
SetAuthorizationEndpointRequestResponseTypeFromEnvironment
Added response_type parameter to request
|
||||||||||||
|
2020-08-27 14:17:26 |
|
SetAuthorizationEndpointRequestResponseModeToFormPost
Added response_mode parameter to request
|
||||||||||||||
|
2020-08-27 14:17:26 |
SUCCESS
|
BuildPlainRedirectToAuthorizationEndpoint
Sending to authorization endpoint
|
||
|
2020-08-27 14:17:26 |
REDIRECT
|
oidcc-userinfo-post-body
Redirecting to authorization endpoint
|
||
|
2020-08-27 14:17:49 |
INCOMING
|
oidcc-userinfo-post-body
Incoming HTTP request to test instance cilWCSLQTWGL9nQ
|
||||||||||||||
|
2020-08-27 14:17:49 |
SUCCESS
|
CreateRandomImplicitSubmitUrl
Created random implicit submission URL
|
||
|
2020-08-27 14:17:49 |
OUTGOING
|
oidcc-userinfo-post-body
Response to HTTP request to test instance cilWCSLQTWGL9nQ
|
||||
|
2020-08-27 14:17:50 |
INCOMING
|
oidcc-userinfo-post-body
Incoming HTTP request to test instance cilWCSLQTWGL9nQ
|
||||||||||||||
|
2020-08-27 14:17:50 |
OUTGOING
|
oidcc-userinfo-post-body
Response to HTTP request to test instance cilWCSLQTWGL9nQ
|
||||
|
2020-08-27 14:17:50 |
SUCCESS
|
ExtractImplicitHashToCallbackResponse
implicit_hash is empty
|
|
2020-08-27 14:17:50 |
REDIRECT-IN
|
oidcc-userinfo-post-body
Authorization endpoint response captured
|
||||||||||
|
Verify authorization endpoint response |
2020-08-27 14:17:50 | SUCCESS |
CheckCallbackHttpMethodIsPost
HTTP method used at redirect_uri is 'POST'
|
|
2020-08-27 14:17:50 | SUCCESS |
CheckCallbackContentTypeIsFormUrlEncoded
content-type header to redirect_uri has the expected value
|
||||
|
2020-08-27 14:17:50 | SUCCESS |
RejectAuthCodeInUrlQuery
Authorization code is not present in URL query returned from authorization endpoint
|
|
2020-08-27 14:17:50 | SUCCESS |
RejectErrorInUrlQuery
'error' is not present in URL query returned from authorization endpoint
|
|
2020-08-27 14:17:50 |
SUCCESS
|
CheckMatchingCallbackParameters
Callback parameters successfully verified
|
|
2020-08-27 14:17:50 |
SUCCESS
|
CheckIfAuthorizationEndpointError
No error from authorization endpoint
|
|
2020-08-27 14:17:50 |
SUCCESS
|
CheckMatchingStateParameter
State parameter correctly returned
|
||
|
2020-08-27 14:17:50 |
SUCCESS
|
ExtractAuthorizationCodeFromAuthorizationResponse
Found authorization code
|
||
|
2020-08-27 14:17:50 |
SUCCESS
|
ExtractAccessTokenFromAuthorizationResponse
Extracted the access token
|
||||
|
Userinfo endpoint tests |
2020-08-27 14:17:50 |
|
CallProtectedResourceWithBearerToken
HTTP request
|
||||||||
|
2020-08-27 14:17:50 |
RESPONSE
|
CallProtectedResourceWithBearerToken
HTTP response
|
||||||||
|
2020-08-27 14:17:50 |
SUCCESS
|
CallProtectedResourceWithBearerToken
Got a response from the resource endpoint
|
||||||
|
2020-08-27 14:17:50 |
SUCCESS
|
CreateTokenEndpointRequestForAuthorizationCodeGrant
|
||||||
|
2020-08-27 14:17:50 |
SUCCESS
|
AddBasicAuthClientSecretAuthenticationParameters
Added basic authorization header
|
||
|
2020-08-27 14:17:50 |
|
CallTokenEndpoint
HTTP request
|
||||||||
|
2020-08-27 14:17:50 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2020-08-27 14:17:50 |
|
CallTokenEndpoint
Token endpoint response
|
||
|
2020-08-27 14:17:50 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||||
|
2020-08-27 14:17:50 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2020-08-27 14:17:50 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2020-08-27 14:17:51 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2020-08-27 14:17:51 | SUCCESS |
ExtractExpiresInFromTokenEndpointResponse
Extracted 'expires_in'
|
||
|
2020-08-27 14:17:51 | SUCCESS |
ValidateExpiresIn
expires_in passed all validation checks
|
||
|
2020-08-27 14:17:51 |
SUCCESS
|
CheckForRefreshTokenValue
Found a refresh token
|
||
|
2020-08-27 14:17:51 | SUCCESS |
ExtractIdTokenFromTokenResponse
Found and parsed the id_token from token_endpoint_response
|
||||||
|
2020-08-27 14:17:51 |
SUCCESS
|
ValidateIdToken
ID token iss, aud, exp, iat, auth_time, acr & nbf claims passed validation checks
|
|
2020-08-27 14:17:51 | SUCCESS |
ValidateIdTokenNonce
Nonce values match
|
||
|
2020-08-27 14:17:51 | SUCCESS |
ValidateIdTokenACRClaimAgainstRequest
Nothing to check; the conformance suite did not request an acr claim in request object
|
|
2020-08-27 14:17:51 |
SUCCESS
|
ValidateIdTokenSignature
id_token signature validated
|
||
|
2020-08-27 14:17:51 |
SUCCESS
|
ValidateIdTokenSignatureUsingKid
id_token signature validated
|
||
|
2020-08-27 14:17:51 | SUCCESS |
CheckForSubjectInIdToken
Found 'sub' in id_token
|
||
|
Userinfo endpoint tests |
2020-08-27 14:17:51 |
|
CallProtectedResourceWithBearerToken
HTTP request
|
||||||||
|
2020-08-27 14:17:51 |
RESPONSE
|
CallProtectedResourceWithBearerToken
HTTP response
|
2020-08-27 14:17:51 |
SUCCESS
|
CallProtectedResourceWithBearerToken
Got a response from the resource endpoint
|
||||||
|
2020-08-27 14:17:51 |
|
CallUserInfoEndpointWithBearerTokenInBodyAllowingFailure
HTTP request
|
||||||||
|
2020-08-27 14:17:51 |
RESPONSE
|
CallUserInfoEndpointWithBearerTokenInBodyAllowingFailure
HTTP response
|
||||||||
|
2020-08-27 14:17:51 | SUCCESS |
CallUserInfoEndpointWithBearerTokenInBodyAllowingFailure
Got a response from the userinfo endpoint
|
||||||
|
2020-08-27 14:17:51 | SUCCESS |
CheckUserInfoEndpointReturnedJsonContentType
userinfo_endpoint_response_headers Content-Type: header is application/json
|
|
2020-08-27 14:17:51 |
SUCCESS
|
ExtractUserInfoFromUserInfoEndpointResponse
Extracted user info
|
||
|
2020-08-27 14:17:51 |
|
ValidateUserInfoStandardClaims
sub is a string
|
|
2020-08-27 14:17:51 | SUCCESS |
ValidateUserInfoStandardClaims
Userinfo is valid
|
|
2020-08-27 14:17:51 | SUCCESS |
EnsureUserInfoContainsSub
Found sub in userinfo
|
||
|
2020-08-27 14:17:51 |
|
EnsureUserInfoBirthDateValid
userinfo response does not contain 'birthdate'
|
|
2020-08-27 14:17:51 |
|
EnsureUserInfoUpdatedAtValid
userinfo response does not contain 'updated_at'
|
|
2020-08-27 14:17:51 |
|
EnsureMemberValuesInClaimNameReferenceToMemberNamesInClaimSources
userinfo response does not contain '_claim_names' nor _claim_sources'
|
|
2020-08-27 14:17:51 |
FINISHED
|
oidcc-userinfo-post-body
Test has run to completion
|
||
|
Unregister dynamically registered client |
2020-08-27 14:17:51 |
|
UnregisterDynamicallyRegisteredClient
HTTP request
|
||||||||
|
2020-08-27 14:17:52 |
RESPONSE
|
UnregisterDynamicallyRegisteredClient
HTTP response
|
||||||||
|
2020-08-27 14:17:52 |
SUCCESS
|
UnregisterDynamicallyRegisteredClient
Client successfully unregistered
|
|
2020-08-27 14:17:53 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|