-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
2,477 additions
and
597 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP TABLE sso_nonce; | ||
DROP TABLE sso_config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ALTER TABLE organizations ADD COLUMN identifier TEXT; | ||
|
||
CREATE TABLE sso_nonce ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
org_uuid CHAR(36) NOT NULL REFERENCES organizations (uuid), | ||
nonce CHAR(36) NOT NULL | ||
); | ||
|
||
CREATE TABLE sso_config ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
org_uuid CHAR(36) NOT NULL REFERENCES organizations(uuid), | ||
use_sso BOOLEAN NOT NULL, | ||
callback_path TEXT NOT NULL, | ||
signed_out_callback_path TEXT NOT NULL, | ||
authority TEXT, | ||
client_id TEXT, | ||
client_secret TEXT | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP TABLE sso_nonce; | ||
DROP TABLE sso_config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ALTER TABLE organizations ADD COLUMN identifier TEXT; | ||
|
||
CREATE TABLE sso_nonce ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
org_uuid CHAR(36) NOT NULL REFERENCES organizations (uuid), | ||
nonce CHAR(36) NOT NULL | ||
); | ||
|
||
CREATE TABLE sso_config ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
org_uuid CHAR(36) NOT NULL REFERENCES organizations(uuid), | ||
use_sso BOOLEAN NOT NULL, | ||
callback_path TEXT NOT NULL, | ||
signed_out_callback_path TEXT NOT NULL, | ||
authority TEXT, | ||
client_id TEXT, | ||
client_secret TEXT | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP TABLE sso_nonce; | ||
DROP TABLE sso_config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ALTER TABLE organizations ADD COLUMN identifier TEXT; | ||
|
||
CREATE TABLE sso_nonce ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
org_uuid CHAR(36) NOT NULL REFERENCES organizations (uuid), | ||
nonce CHAR(36) NOT NULL | ||
); | ||
|
||
CREATE TABLE sso_config ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
org_uuid CHAR(36) NOT NULL REFERENCES organizations(uuid), | ||
use_sso BOOLEAN NOT NULL, | ||
callback_path TEXT NOT NULL, | ||
signed_out_callback_path TEXT NOT NULL, | ||
authority TEXT, | ||
client_id TEXT, | ||
client_secret TEXT | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.