feat: introduce role mappings form on authentication page (#1256)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
`;
|
@@ -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
|
||||
}
|
||||
}
|
||||
`;
|
@@ -3,6 +3,7 @@ import { gql } from '@apollo/client';
|
||||
export const GET_SAML_AUTH_PROVIDER = gql`
|
||||
query GetSamlAuthProvider {
|
||||
getSamlAuthProvider {
|
||||
id
|
||||
name
|
||||
certificate
|
||||
signatureAlgorithm
|
||||
|
Reference in New Issue
Block a user