From a84251eb8f65ac2d7779886eeada9eec62ea09ec Mon Sep 17 00:00:00 2001 From: Pascal Schorde Date: Fri, 15 Jun 2018 17:00:56 +0200 Subject: [PATCH] Changed column type to varchar To work with the Auth Grant Type the columns user_id and client_id have to be varchar in the oauth_auth_codes table. See http://oauth2.thephpleague.com/auth-code-repository-interface/ --- data/oauth2.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/oauth2.sql b/data/oauth2.sql index 508e667..18a2646 100644 --- a/data/oauth2.sql +++ b/data/oauth2.sql @@ -1,7 +1,7 @@ CREATE TABLE oauth_auth_codes ( id VARCHAR(100), - user_id INTEGER, - client_id INTEGER, + user_id VARCHAR(40), + client_id VARCHAR(40), scopes TEXT NULL, revoked BOOLEAN, expires_at TIMESTAMP NULL,