Aakanksha
Aakanksha

Reputation: 107

Spring Authorization server schema related questions

Kindly provide assistance with the following:

  1. Schema for Spring Authorization Server version 1.1.1
  2. Can the table name and column names be changed in the same?
  3. What is the difference between oauth_client_details and oauth2_registered_client?

Is this schema correct? https://github.com/spring-attic/spring-security-oauth/blob/main/spring-security-oauth/src/test/resources/schema.sql

Thanks in advance.

Upvotes: 0

Views: 439

Answers (1)

Steve Riesenberg
Steve Riesenberg

Reputation: 6158

First, Spring Security OAuth is no longer supported and has reached end-of-life. The schema you linked is not correct for Spring Authorization Server because SAS is a separate (new) project and is not backwards compatible with the deprecated project.

Second, the schemas used for the JDBC implementations of core services are:

This implementation and test provide an example of customizing the schema and column names. You may also be interested in the examples from How-to: Implement core services with JPA which would give you full flexibility to customize the schema however you want.

Upvotes: 1

Related Questions