-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Provide JDBC implementation of RegisteredClientRepository #265
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
@rlewczuk, what are your thoughts on.using the |
@metacubed But representation of collection attributes of |
@rlewczuk About: public static final AuthorizationGrantType JWT_BEARER = new AuthorizationGrantType("urn:ietf:params:oauth:grant-type:jwt-bearer");
public static final AuthorizationGrantType SAML2_BEARER = new AuthorizationGrantType("urn:ietf:params:oauth:grant-type:saml2-bearer"); |
Current implementation: https://github.com/rlewczuk/spring-authorization-server/tree/gh-265-jdbc-client-repository Refer to the previous official table definition rule: It is indicated that the best choice is It is recommended to modify the name and field of the table as follows:
|
@xzxiaoshan Database object names have been fixed. Thank you for review. |
@zhangzp-handsome those new constants refer to Assertion Framework for OAuth 2.0 Client Authentication and Authorization Grants as described in RFC 7521, 7522, 7523. I've added constants in separate commit rlewczuk@356d206. Adding this commit to jdbc-client-repository branch allowed to support those constants in JdbcRegisteredClientRepository, so I don't need to return to this issue later on. However, including it into this particular change is topic for discussion. As those constants are used across few branches (changes) I'm working on, it probably makes sense to submit them as separate PR. |
This would be useful in real-world workloads where clients are registered and maintained at runtime, without restarting server.
In fact, I've implemented it as I'm evaluating new spring authorization server in my (not-yet-production) projects. It follows
userdetails.jdbc.JdbcDaoImpl
implementation and only uses SpringJdbcTemplate
.If there are no objections, I would be happy to submit pull request when right time comes.
Current implementation: https://github.com/rlewczuk/spring-authorization-server/tree/gh-265-jdbc-client-repository
Related gh-57 gh-245
The text was updated successfully, but these errors were encountered: