Skip to content

Add SSO application management #73

Add SSO application management

Add SSO application management #73

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

112 passed, 2 failed and 4 skipped

Tests failed

Report Passed Failed Skipped Time
TestResults/_fv-az1052-509_2024-04-18_10_29_15.trx 56✅ 1❌ 2⚪ 37s
TestResults/_fv-az1052-509_2024-04-18_10_29_51.trx 56✅ 1❌ 2⚪ 37s

❌ TestResults/_fv-az1052-509_2024-04-18_10_29_15.trx

59 tests were completed in 37s 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✅ 7s
Descope.Test.Integration.JwtTests 2✅ 4s
Descope.Test.Integration.PasswordSettingsTests 1✅ 1s
Descope.Test.Integration.PermissionTests 3✅ 1s
Descope.Test.Integration.ProjectTests 2✅ 1⚪ 1s
Descope.Test.Integration.RoleTests 3✅ 2s
Descope.Test.Integration.SsoApplicationTests 2✅ 1❌ 3s
Descope.Test.Integration.SsoTests 3✅ 4s
Descope.Test.Integration.TenantTests 7✅ 3s
Descope.Test.Integration.UserTests 16✅ 1⚪ 9s
Descope.Test.Unit.SsoTests 2✅ 11ms

✅ 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
	Descope.DescopeException : [E011003]: Request is invalid (The id field is required)

✅ 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-az1052-509_2024-04-18_10_29_51.trx

59 tests were completed in 37s 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✅ 7s
Descope.Test.Integration.JwtTests 2✅ 2s
Descope.Test.Integration.PasswordSettingsTests 1✅ 1s
Descope.Test.Integration.PermissionTests 3✅ 1s
Descope.Test.Integration.ProjectTests 2✅ 1⚪ 1s
Descope.Test.Integration.RoleTests 3✅ 1s
Descope.Test.Integration.SsoApplicationTests 2✅ 1❌ 3s
Descope.Test.Integration.SsoTests 3✅ 4s
Descope.Test.Integration.TenantTests 7✅ 3s
Descope.Test.Integration.UserTests 16✅ 1⚪ 9s
Descope.Test.Unit.SsoTests 2✅ 8ms

✅ 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
	Descope.DescopeException : [E011003]: Request is invalid (The id field is required)

✅ 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 90 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-az1052-509_2024-04-18_10_29_15.trx
Error:
  Descope.DescopeException : [E011003]: Request is invalid (The id field is required)
Raw output
Descope.DescopeException : [E011003]: Request is invalid (The id field is required)
   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 90
   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-az1052-509_2024-04-18_10_29_51.trx
Error:
  Descope.DescopeException : [E011003]: Request is invalid (The id field is required)
Raw output
Descope.DescopeException : [E011003]: Request is invalid (The id field is required)
   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 ---