feat(sso): introduce authentication with SAML
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import SamlAuthProvider from '../../models/saml-auth-provider.ee';
|
||||
|
||||
const getSamlAuthProviders = async () => {
|
||||
const providers = await SamlAuthProvider.query();
|
||||
|
||||
return providers;
|
||||
};
|
||||
|
||||
export default getSamlAuthProviders;
|
@@ -18,6 +18,7 @@ import getInvoices from './queries/get-invoices.ee';
|
||||
import getAutomatischInfo from './queries/get-automatisch-info';
|
||||
import getTrialStatus from './queries/get-trial-status.ee';
|
||||
import getSubscriptionStatus from './queries/get-subscription-status.ee';
|
||||
import getSamlAuthProviders from './queries/get-saml-auth-providers.ee';
|
||||
import healthcheck from './queries/healthcheck';
|
||||
|
||||
const queryResolvers = {
|
||||
@@ -41,6 +42,7 @@ const queryResolvers = {
|
||||
getAutomatischInfo,
|
||||
getTrialStatus,
|
||||
getSubscriptionStatus,
|
||||
getSamlAuthProviders,
|
||||
healthcheck,
|
||||
};
|
||||
|
||||
|
@@ -41,6 +41,7 @@ type Query {
|
||||
getAutomatischInfo: GetAutomatischInfo
|
||||
getTrialStatus: GetTrialStatus
|
||||
getSubscriptionStatus: GetSubscriptionStatus
|
||||
getSamlAuthProviders: [GetSamlAuthProviders]
|
||||
healthcheck: AppHealth
|
||||
}
|
||||
|
||||
@@ -554,6 +555,12 @@ type PaymentPlan {
|
||||
productId: String
|
||||
}
|
||||
|
||||
type GetSamlAuthProviders {
|
||||
id: String
|
||||
name: String
|
||||
issuer: String
|
||||
}
|
||||
|
||||
schema {
|
||||
query: Query
|
||||
mutation: Mutation
|
||||
|
Reference in New Issue
Block a user