2

The spring-security-oauth schema has a this table:

    create table oauth_client_details (
      client_id VARCHAR(256) PRIMARY KEY,
      resource_ids VARCHAR(256),
      client_secret VARCHAR(256),
      scope VARCHAR(256),
      authorized_grant_types VARCHAR(256),
      web_server_redirect_uri VARCHAR(256),
      authorities VARCHAR(256),
      access_token_validity INTEGER,
      refresh_token_validity INTEGER,
      additional_information VARCHAR(4096),
      autoapprove VARCHAR(256)
    );

What is the resource_ids column for? There is a related question here but it's not clear from the answers whether resource_ids perform the same function as scopes?

Ole
  • 41,793
  • 59
  • 191
  • 359

1 Answers1

1

As per the developer guide,

resource_id: the id for the resource (optional, but recommended and will be validated by the auth server if present)

SAMUEL
  • 8,098
  • 3
  • 42
  • 42