Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

When the Authorization Server storage is set to Database, users are required to create two new tables manually in the Database where the Authorization Server will store the scope and details of the client registration.

Users can refer to the following example of a table schema to generate the tables for Authorization Server.

Example - Table Schema

CREATE TABLE oauth_scope (
scope       VARCHAR(64) NOT NULL PRIMARY KEY, 
description VARCHAR(128)
);

CREATE TABLE oauth_client ( 
client_name   VARCHAR(128)    NOT NULL PRIMARY KEY, 
client_id     VARCHAR(64)     NOT NULL, 
client_secret VARCHAR(64)     NOT NULL, 
client_scope  VARCHAR(2048)   NOT NULL 
);







  • No labels