mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 10:48:36 +00:00
feat: finished oidc form functions
This commit is contained in:
@@ -6,17 +6,17 @@ export async function up(knex: Knex): Promise<void> {
|
||||
if (!(await knex.schema.hasTable(TableName.OidcConfig))) {
|
||||
await knex.schema.createTable(TableName.OidcConfig, (tb) => {
|
||||
tb.uuid("id", { primaryKey: true }).defaultTo(knex.fn.uuid());
|
||||
tb.string("issuer");
|
||||
tb.string("authorizationEndpoint");
|
||||
tb.string("jwksUri");
|
||||
tb.string("tokenEndpoint");
|
||||
tb.string("userinfoEndpoint");
|
||||
tb.text("encryptedClientId");
|
||||
tb.string("clientIdIV");
|
||||
tb.string("clientIdTag");
|
||||
tb.text("encryptedClientSecret");
|
||||
tb.string("clientSecretIV");
|
||||
tb.string("clientSecretTag");
|
||||
tb.string("issuer").notNullable();
|
||||
tb.string("authorizationEndpoint").notNullable();
|
||||
tb.string("jwksUri").notNullable();
|
||||
tb.string("tokenEndpoint").notNullable();
|
||||
tb.string("userinfoEndpoint").notNullable();
|
||||
tb.text("encryptedClientId").notNullable();
|
||||
tb.string("clientIdIV").notNullable();
|
||||
tb.string("clientIdTag").notNullable();
|
||||
tb.text("encryptedClientSecret").notNullable();
|
||||
tb.string("clientSecretIV").notNullable();
|
||||
tb.string("clientSecretTag").notNullable();
|
||||
tb.boolean("isActive").notNullable();
|
||||
tb.timestamps(true, true, true);
|
||||
tb.uuid("orgId").notNullable().unique();
|
||||
|
||||
Reference in New Issue
Block a user