Skip to content

Introduce JdbcTokenStore #9381

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

Closed
boyan-velinov opened this issue Jan 27, 2021 · 1 comment
Closed

Introduce JdbcTokenStore #9381

boyan-velinov opened this issue Jan 27, 2021 · 1 comment
Assignees
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue

Comments

@boyan-velinov
Copy link

Expected Behavior

Introduce JdbcTokenStore, as the one in Spring Security OAuth 2.x

Current Behavior

Missing way to cache tokens in stateless app running in several instance.

Context

Currently we are using JdbcTokenStore, provided by Spring Security OAuth 2.x, in order to cache the tokens, which later on are used to accomplish long running processes on behalf of the user.

Here is the current application setup:

  • App is running on several instances in Cloud Foundry
  • App uses postgre as backing service
  • App receives oauth tokens
  • App acts on behalf of the user, by using the tokens, to call Cloud Controller. Actual computing and external calls can be done on different app instances.

More details and code snippets can be found in the stackoverflow question: https://stackoverflow.com/questions/65904062/tokenstore-in-spring-security-5-x-after-removal-of-spring-security-oauth-2-x

@boyan-velinov boyan-velinov added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Jan 27, 2021
@jgrandja
Copy link
Contributor

@boyan-velinov This has already been implemented in 5.3.0 via JdbcOAuth2AuthorizedClientService. See #7655 and #7889

@jgrandja jgrandja self-assigned this Jan 27, 2021
@jgrandja jgrandja added in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants