Skip to content

Add SSO application management #74

Add SSO application management

Add SSO application management #74

GitHub Actions / .NET Tests failed Apr 18, 2024 in 0s

112 passed, 2 failed and 4 skipped

Tests failed

Report Passed Failed Skipped Time
TestResults/_fv-az1108-946_2024-04-18_10_34_36.trx 56✅ 1❌ 2⚪ 26s
TestResults/_fv-az1108-946_2024-04-18_10_35_01.trx 56✅ 1❌ 2⚪ 25s

❌ TestResults/_fv-az1108-946_2024-04-18_10_34_36.trx

59 tests were completed in 26s with 56 passed, 1 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Descope.Test.Integration.AccessKeyTests 11✅ 2s
Descope.Test.Integration.AuthenticationTests 4✅ 5s
Descope.Test.Integration.JwtTests 2✅ 2s
Descope.Test.Integration.PasswordSettingsTests 1✅ 2s
Descope.Test.Integration.PermissionTests 3✅ 695ms
Descope.Test.Integration.ProjectTests 2✅ 1⚪ 937ms
Descope.Test.Integration.RoleTests 3✅ 705ms
Descope.Test.Integration.SsoApplicationTests 2✅ 1❌ 2s
Descope.Test.Integration.SsoTests 3✅ 3s
Descope.Test.Integration.TenantTests 7✅ 2s
Descope.Test.Integration.UserTests 16✅ 1⚪ 5s
Descope.Test.Unit.SsoTests 2✅ 13ms

✅ Descope.Test.Integration.AccessKeyTests

✅ AccessKey_Activate_MissingId
✅ Accesskey_ActivateDeactivate
✅ AccessKey_Create_MissingName
✅ AccessKey_CreateAndUpdate
✅ AccessKey_Deactivate_MissingId
✅ AccessKey_Delete
✅ Accesskey_Delete_MissingId
✅ AccessKey_Load_MissingId
✅ AccessKey_SearchAll
✅ AccessKey_Update_MissingId
✅ AccessKey_Update_MissingName

✅ Descope.Test.Integration.AuthenticationTests

✅ Authentication_ExchangeAccessKeyAndMe
✅ Authentication_MeAndLogout
✅ Authentication_SelectTenant
✅ Authentication_ValidateAndRefresh

✅ Descope.Test.Integration.JwtTests

✅ Jwt_CustomClaims
✅ Jwt_Impersonate

✅ Descope.Test.Integration.PasswordSettingsTests

✅ PasswordSettings_GetAndUpdate

✅ Descope.Test.Integration.PermissionTests

✅ Permission_CreateAndLoad
✅ Permission_DeleteAndLoadAll
✅ Permission_UpdateAndSearch

✅ Descope.Test.Integration.ProjectTests

⚪ Project_CloneAndDelete
✅ Project_ExportImport
✅ Project_Rename

✅ Descope.Test.Integration.RoleTests

✅ Role_CreateAndLoad
✅ Role_DeleteAndLoadAll
✅ Role_UpdateAndSearch

❌ Descope.Test.Integration.SsoApplicationTests

✅ Sso_Oidc
✅ Sso_SamlByMetadata
❌ SsoApplication_SamlCreateUpdateAndDelete
	System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.List`1[Descope.SsoApplicationResponse]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.

✅ Descope.Test.Integration.SsoTests

✅ Sso_Oidc
✅ Sso_SamlByMetadata
✅ Sso_SamlSetAndDelete

✅ Descope.Test.Integration.TenantTests

✅ Tenant_Create_MissingName
✅ Tenant_CreateAndLoad
✅ Tenant_Delete_MissingId
✅ Tenant_DeleteAndLoadAll
✅ Tenant_Update_MissingId
✅ Tenant_Update_MissingName
✅ Tenant_UpdateAndSearch

✅ Descope.Test.Integration.UserTests

✅ User_Activate
✅ User_Create
✅ User_CreateBatch
✅ User_DeleteAndSearch
✅ User_Password
✅ User_Roles
✅ User_SsoApps
✅ User_Tenants
✅ User_TestUser
✅ User_Update
⚪ User_UpdateCustomAttributes
✅ User_UpdateDisplayName
✅ User_UpdateEmail
✅ User_UpdateLoginId
✅ User_UpdatePhone
✅ User_UpdatePicture
✅ User_UpdateUserNames

✅ Descope.Test.Unit.SsoTests

✅ SSO_Exchange
✅ SSO_Start

❌ TestResults/_fv-az1108-946_2024-04-18_10_35_01.trx

59 tests were completed in 25s with 56 passed, 1 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Descope.Test.Integration.AccessKeyTests 11✅ 865ms
Descope.Test.Integration.AuthenticationTests 4✅ 6s
Descope.Test.Integration.JwtTests 2✅ 1s
Descope.Test.Integration.PasswordSettingsTests 1✅ 958ms
Descope.Test.Integration.PermissionTests 3✅ 528ms
Descope.Test.Integration.ProjectTests 2✅ 1⚪ 906ms
Descope.Test.Integration.RoleTests 3✅ 754ms
Descope.Test.Integration.SsoApplicationTests 2✅ 1❌ 2s
Descope.Test.Integration.SsoTests 3✅ 3s
Descope.Test.Integration.TenantTests 7✅ 2s
Descope.Test.Integration.UserTests 16✅ 1⚪ 6s
Descope.Test.Unit.SsoTests 2✅ 10ms

✅ Descope.Test.Integration.AccessKeyTests

✅ AccessKey_Activate_MissingId
✅ Accesskey_ActivateDeactivate
✅ AccessKey_Create_MissingName
✅ AccessKey_CreateAndUpdate
✅ AccessKey_Deactivate_MissingId
✅ AccessKey_Delete
✅ Accesskey_Delete_MissingId
✅ AccessKey_Load_MissingId
✅ AccessKey_SearchAll
✅ AccessKey_Update_MissingId
✅ AccessKey_Update_MissingName

✅ Descope.Test.Integration.AuthenticationTests

✅ Authentication_ExchangeAccessKeyAndMe
✅ Authentication_MeAndLogout
✅ Authentication_SelectTenant
✅ Authentication_ValidateAndRefresh

✅ Descope.Test.Integration.JwtTests

✅ Jwt_CustomClaims
✅ Jwt_Impersonate

✅ Descope.Test.Integration.PasswordSettingsTests

✅ PasswordSettings_GetAndUpdate

✅ Descope.Test.Integration.PermissionTests

✅ Permission_CreateAndLoad
✅ Permission_DeleteAndLoadAll
✅ Permission_UpdateAndSearch

✅ Descope.Test.Integration.ProjectTests

⚪ Project_CloneAndDelete
✅ Project_ExportImport
✅ Project_Rename

✅ Descope.Test.Integration.RoleTests

✅ Role_CreateAndLoad
✅ Role_DeleteAndLoadAll
✅ Role_UpdateAndSearch

❌ Descope.Test.Integration.SsoApplicationTests

✅ Sso_Oidc
✅ Sso_SamlByMetadata
❌ SsoApplication_SamlCreateUpdateAndDelete
	System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.List`1[Descope.SsoApplicationResponse]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.

✅ Descope.Test.Integration.SsoTests

✅ Sso_Oidc
✅ Sso_SamlByMetadata
✅ Sso_SamlSetAndDelete

✅ Descope.Test.Integration.TenantTests

✅ Tenant_Create_MissingName
✅ Tenant_CreateAndLoad
✅ Tenant_Delete_MissingId
✅ Tenant_DeleteAndLoadAll
✅ Tenant_Update_MissingId
✅ Tenant_Update_MissingName
✅ Tenant_UpdateAndSearch

✅ Descope.Test.Integration.UserTests

✅ User_Activate
✅ User_Create
✅ User_CreateBatch
✅ User_DeleteAndSearch
✅ User_Password
✅ User_Roles
✅ User_SsoApps
✅ User_Tenants
✅ User_TestUser
✅ User_Update
⚪ User_UpdateCustomAttributes
✅ User_UpdateDisplayName
✅ User_UpdateEmail
✅ User_UpdateLoginId
✅ User_UpdatePhone
✅ User_UpdatePicture
✅ User_UpdateUserNames

✅ Descope.Test.Unit.SsoTests

✅ SSO_Exchange
✅ SSO_Start

Annotations

Check failure on line 84 in Descope/Internal/Http/HttpClient.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

Descope.Test.Integration.SsoApplicationTests ► SsoApplication_SamlCreateUpdateAndDelete

Failed test found in:
  TestResults/_fv-az1108-946_2024-04-18_10_34_36.trx
Error:
  System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.List`1[Descope.SsoApplicationResponse]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
Raw output
System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.List`1[Descope.SsoApplicationResponse]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
   at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
   at System.Text.Json.Serialization.JsonCollectionConverter`2.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TCollection& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
   at Descope.Internal.HttpClient.Call[TResponse](String resource, Method method, String pswd, Object body, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 84
   at Descope.Internal.HttpClient.Get[TResponse](String resource, String pswd, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 43
   at Descope.Internal.Management.SsoApplication.LoadAll() in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Management/SsoApplication.cs:line 52
   at Descope.Test.Integration.SsoApplicationTests.SsoApplication_SamlCreateUpdateAndDelete() in /home/runner/work/descope-dotnet/descope-dotnet/Descope.Test/IntegrationTests/Management/SsoApplicationTests.cs:line 33
   at Descope.Test.Integration.SsoApplicationTests.SsoApplication_SamlCreateUpdateAndDelete() in /home/runner/work/descope-dotnet/descope-dotnet/Descope.Test/IntegrationTests/Management/SsoApplicationTests.cs:line 47
--- End of stack trace from previous location ---

Check failure on line 42 in Descope/Internal/Http/HttpClient.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

Descope.Test.Integration.SsoApplicationTests ► SsoApplication_SamlCreateUpdateAndDelete

Failed test found in:
  TestResults/_fv-az1108-946_2024-04-18_10_35_01.trx
Error:
  System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.List`1[Descope.SsoApplicationResponse]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
Raw output
System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.List`1[Descope.SsoApplicationResponse]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
   at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
   at System.Text.Json.Serialization.JsonCollectionConverter`2.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TCollection& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
   at Descope.Internal.HttpClient.Call[TResponse](String resource, Method method, String pswd, Object body, Dictionary`2 queryParams)
   at Descope.Internal.HttpClient.Get[TResponse](String resource, String pswd, Dictionary`2 queryParams) in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Http/HttpClient.cs:line 42
   at Descope.Internal.Management.SsoApplication.LoadAll() in /home/runner/work/descope-dotnet/descope-dotnet/Descope/Internal/Management/SsoApplication.cs:line 52
   at Descope.Test.Integration.SsoApplicationTests.SsoApplication_SamlCreateUpdateAndDelete() in /home/runner/work/descope-dotnet/descope-dotnet/Descope.Test/IntegrationTests/Management/SsoApplicationTests.cs:line 33
   at Descope.Test.Integration.SsoApplicationTests.SsoApplication_SamlCreateUpdateAndDelete() in /home/runner/work/descope-dotnet/descope-dotnet/Descope.Test/IntegrationTests/Management/SsoApplicationTests.cs:line 47
--- End of stack trace from previous location ---