From 5d549dca96c643345ba92e67504e67eb1b6b0681 Mon Sep 17 00:00:00 2001
From: Alexey Shchepin <alexey@process-one.net>
Date: Thu, 3 Oct 2019 06:18:07 +0300
Subject: Check redirect_uri for OAUTH implicit grant

---
 sql/mysql.new.sql | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'sql/mysql.new.sql')

diff --git a/sql/mysql.new.sql b/sql/mysql.new.sql
index b2f9acfd4..15843fc7d 100644
--- a/sql/mysql.new.sql
+++ b/sql/mysql.new.sql
@@ -384,6 +384,13 @@ CREATE TABLE oauth_token (
     expire bigint NOT NULL
 ) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
 
+CREATE TABLE oauth_client (
+    client_id varchar(191) NOT NULL PRIMARY KEY,
+    client_name text NOT NULL,
+    grant_type text NOT NULL,
+    options text NOT NULL
+) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
+
 CREATE TABLE route (
     domain text NOT NULL,
     server_host varchar(191) NOT NULL,
-- 
cgit v1.2.3

