Hi Joe,
I missed to mention, we are using No Sql Cassandra database schema, which has the following two tables.
Schema is as follows:
CREATE TABLE oauth_refresh_token (
otk_token text PRIMARY KEY,
secret text,
expiration bigint,
scope text,
resource_owner text,
created bigint,
otoken text, // other token = access token
oexpiration bigint,
status text,
client_key text,
client_name text,
custom text
);
CREATE TABLE oauth_access_token (
otk_token text PRIMARY KEY,
secret text,
expiration bigint,
scope text,
resource_owner text,
created bigint,
otoken text, // other token = refresh token
oexpiration bigint,
status text,
client_key text,
client_name text,
custom text
);