Reputation: 107
Kindly provide assistance with the following:
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
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