-
-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(schemas,core,console): add SAML application type #6766
base: master
Are you sure you want to change the base?
feat(schemas,core,console): add SAML application type #6766
Conversation
COMPARE TO
|
Name | Diff |
---|---|
packages/console/src/assets/docs/guides/types.ts | 📈 +29 Bytes |
packages/console/src/components/ApplicationCreation/CreateForm/Footer/index.tsx | 📈 +83 Bytes |
packages/console/src/components/ApplicationCreation/CreateForm/index.tsx | 📈 +66 Bytes |
packages/console/src/components/ApplicationCreation/index.tsx | 📈 +39 Bytes |
packages/console/src/components/ApplicationIcon/index.tsx | 📈 +47 Bytes |
packages/console/src/components/AuditLogTable/index.tsx | 📈 +44 Bytes |
packages/console/src/components/EntitiesTransfer/components/EntityItem/index.tsx | 📈 +39 Bytes |
packages/console/src/components/Guide/index.tsx | 📈 +6 Bytes |
packages/console/src/components/ItemPreview/ApplicationPreview.tsx | 📈 +6 Bytes |
packages/console/src/consts/applications.ts | 📈 +83 Bytes |
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/GuideDrawer/index.tsx | 📈 +6 Bytes |
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/RefreshTokenSettings.tsx | 📈 +39 Bytes |
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/Settings.tsx | 📈 +6 Bytes |
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/index.tsx | 📈 +32 Bytes |
packages/console/src/pages/ApplicationDetails/GuideModal/index.tsx | 📈 +6 Bytes |
packages/console/src/pages/ApplicationDetails/components/AppGuide/index.tsx | 📈 +6 Bytes |
packages/console/src/pages/ApplicationDetails/index.tsx | 📈 +39 Bytes |
packages/console/src/pages/Applications/components/ProtectedAppForm/index.tsx | 📈 +39 Bytes |
packages/console/src/pages/Applications/components/TypeDescription/index.tsx | 📈 +28 Bytes |
packages/console/src/pages/Applications/hooks/use-application-data.ts | 📈 +6 Bytes |
packages/console/src/pages/EnterpriseSsoDetails/IdpInitiatedAuth/ConfigForm.tsx | 📈 +814 Bytes |
packages/console/src/pages/EnterpriseSsoDetails/IdpInitiatedAuth/index.tsx | 📈 +39 Bytes |
packages/console/src/pages/EnterpriseSsoDetails/IdpInitiatedAuth/utils.ts | 📈 +38 Bytes |
packages/console/src/pages/GetStarted/index.tsx | 📈 +39 Bytes |
packages/console/src/pages/OrganizationDetails/MachineToMachine/AddAppsToOrganization.tsx | 📈 +39 Bytes |
packages/console/src/pages/OrganizationDetails/MachineToMachine/index.tsx | 📈 +572 Bytes |
packages/console/src/pages/RoleDetails/RoleApplications/index.tsx | 📈 +39 Bytes |
packages/console/src/pages/Roles/components/AssignRoleModal/index.tsx | 📈 +39 Bytes |
packages/console/src/types/applications.ts | 📈 +547 Bytes |
packages/core/src/routes/applications/application.ts | 📈 +967 Bytes |
packages/core/src/routes/applications/types.ts | 📈 +744 Bytes |
packages/integration-tests/src/tests/api/application/application.secrets.test.ts | 📈 +113 Bytes |
packages/integration-tests/src/tests/api/application/application.test.ts | 📈 +654 Bytes |
packages/integration-tests/src/tests/console/applications/constants.ts | 📈 +69 Bytes |
packages/phrases/src/locales/en/errors/application.ts | 📈 +88 Bytes |
packages/schemas/alterations/next-1731900596-add-saml-application-type.ts | 📈 +1.88 KB |
packages/schemas/alterations/next-1731900631-add-saml-app-third-party-consistency-check.ts | 📈 +569 Bytes |
packages/schemas/src/utils/application.ts | 📈 +93 Bytes |
packages/schemas/tables/applications.sql | 📈 +137 Bytes |
b5bb11c
to
81b6722
Compare
87d77d1
to
d70989d
Compare
f2bec19
to
18837d3
Compare
18837d3
to
71193e0
Compare
71193e0
to
f604112
Compare
packages/console/src/components/ApplicationCreation/CreateForm/index.tsx
Outdated
Show resolved
Hide resolved
if (pendingUpdateApplication.type === ApplicationType.SAML) { | ||
throw new RequestError('application.use_saml_app_api'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about saml_app_read_only
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the offline discussions, we are now disabling the GET /applications(/:id)?
API for SAML apps. When we need to modify the console, we will then allow the GET /applications/(:id)?
API, and at that time, we can change it to saml_app_read_only
.
fde0600
to
d5c8533
Compare
d5c8533
to
8ede93b
Compare
8ede93b
to
3a47e75
Compare
Summary
add
SAML
application type, with following changes:SAML
to enum application typePOST /applications
andPATCH /applications/:id
API, also filtered SAML apps fromGET /applications(/:id)?
APIsSAML
value toapplication.type
type.Testing
Should be covered by integration tests.
Checklist
.changeset