-
Notifications
You must be signed in to change notification settings - Fork 1.3k
JdbcOAuth2AuthorizationService should support clob and text datatype for token columns #480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👍🏻 Kindly address this issue, have tries customizing it, but not able to get the result as expected, tried with all suggested solutions. Changing from blob to VARCHAR would make up for most standard sql databases. |
hi @jgrandja. Would you prefer to not use the In this way, the schema can be changed to use something else than Draft PR: 491 |
…e database Use CLOB instead of BLOB. With CLOB type the underlying schema can store varchars and clobs as well (if this is supported by the database) Closes spring-projectsgh-480
@ovidiupopa91 It doesn't look like Postgres supports CLOB? If I don't mind keeping |
@jgrandja I did check and it works by default with Postgress when token values are defined as |
By the way, I also noticed that the Should I open a new issue for this or should I do it within this issue / PR? |
…e database Use CLOB instead of BLOB. With CLOB type the underlying schema can store varchars and clobs as well (if this is supported by the database) Closes spring-projectsgh-480
@ovidiupopa91
Please open a new issue for this fix. Thanks for catching that! Just a heads up that I'm on PTO Nov 19-24 (inclusive) and have a couple of priority issues to resolve this week. I'll try to review this week but it may be when I return from PTO. |
…e database Use CLOB instead of BLOB. With CLOB type the underlying schema can store varchars and clobs as well (if this is supported by the database) Closes spring-projectsgh-480
A small question.. You say that it should work out of the box, but when I use the jdbc client repo and authorization service, I get an exception telling that a table is not present, and I need to create that first manually.. Should I define some missing property to force the app to create the tables automatically? |
Few issues were logged for
JdbcOAuth2AuthorizationService
as it does not work out of the box with PostgreSQL. Although customization is possible, we should change the schema from blob to varchar OR another standard SQL datatype that will work by default with PostgreSQL and most other databasesThe text was updated successfully, but these errors were encountered: