feat: added allowRegistration option

This commit is contained in:
Wyatt Johnson
2018-10-25 12:57:20 -06:00
parent d1e6d297f3
commit 3c613754f0
8 changed files with 121 additions and 57 deletions
+1
View File
@@ -136,6 +136,7 @@ export async function createOIDCAuthIntegration(
// Create the integration. By default, the integration is disabled.
const result = await createTenantOIDCAuthIntegration(mongo, tenant.id, {
enabled: false,
allowRegistration: false,
...input,
});
if (!result.wasCreated || !result.tenant) {