feat: introduce role mappings form on authentication page (#1256)

This commit is contained in:
kattoczko
2023-09-08 13:09:53 +01:00
committed by GitHub
parent ff66548462
commit d63757634a
12 changed files with 506 additions and 194 deletions

View File

@@ -0,0 +1,14 @@
import { gql } from '@apollo/client';
export const UPSERT_SAML_AUTH_PROVIDERS_ROLE_MAPPINGS = gql`
mutation UpsertSamlAuthProvidersRoleMappings(
$input: UpsertSamlAuthProvidersRoleMappingsInput
) {
upsertSamlAuthProvidersRoleMappings(input: $input) {
id
samlAuthProviderId
roleId
remoteRoleName
}
}
`;

View File

@@ -0,0 +1,12 @@
import { gql } from '@apollo/client';
export const GET_SAML_AUTH_PROVIDER_ROLE_MAPPINGS = gql`
query GetSamlAuthProviderRoleMappings($id: String!) {
getSamlAuthProviderRoleMappings(id: $id) {
id
samlAuthProviderId
roleId
remoteRoleName
}
}
`;

View File

@@ -3,6 +3,7 @@ import { gql } from '@apollo/client';
export const GET_SAML_AUTH_PROVIDER = gql`
query GetSamlAuthProvider {
getSamlAuthProvider {
id
name
certificate
signatureAlgorithm