Skip to content

Refactor: move Refresh Token generation logic to AccountManagement #758

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PavlovicDzFilip
Copy link
Contributor

Summary & Motivation

This Pull Request moves Refresh Token generation logic into Account Management. Only Account Management should generate new Refresh Tokens.

This is a step the first step that will allow Account Management to block Refresh Token replay attempts.

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@PavlovicDzFilip PavlovicDzFilip marked this pull request as ready for review June 25, 2025 18:57
@tjementum
Copy link
Member

The OTP Generator, PasswordHelper, AuthenticationKeys, etc. are and can used by self-contained systems in downstream projects and should stay in SharedKernel.

Let's have discussions (on Slack) before we make changes to the architecture, so we are aligned before we make changes to the architecture or implement new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants