summaryrefslogtreecommitdiff
path: root/sql/pg.new.sql
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2019-10-03 06:18:07 +0300
committerAlexey Shchepin <alexey@process-one.net>2019-10-03 06:18:48 +0300
commit5d549dca96c643345ba92e67504e67eb1b6b0681 (patch)
tree8228edfd0595643c869420d1506e76ebf5c45146 /sql/pg.new.sql
parentUpdate Guide links in WebAdmin to website, as local file isn't included (diff)
Check redirect_uri for OAUTH implicit grant
Diffstat (limited to 'sql/pg.new.sql')
-rw-r--r--sql/pg.new.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/pg.new.sql b/sql/pg.new.sql
index c585fd30..1a3d5231 100644
--- a/sql/pg.new.sql
+++ b/sql/pg.new.sql
@@ -529,6 +529,13 @@ CREATE TABLE oauth_token (
CREATE UNIQUE INDEX i_oauth_token_token ON oauth_token USING btree (token);
+CREATE TABLE oauth_client (
+ client_id text PRIMARY KEY,
+ client_name text NOT NULL,
+ grant_type text NOT NULL,
+ options text NOT NULL
+);
+
CREATE TABLE route (
domain text NOT NULL,
server_host text NOT NULL,