Skip to content
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

Fix client's tokens lifetime and authentication method management #677

Merged
merged 6 commits into from
Dec 11, 2023

Conversation

enricovianello
Copy link
Member

The current behavior is:

  • setting zero or null for access token duration will be overwritten with a default value
  • setting null for refresh token duration will be overwritten with a default value
  • setting zero for refresh token duration will be considered as infinite
  • client's UI token page will prompt default duration values for tokens
  • if authentication method is set to null, on creation and on update, client secret always becomes null
  • if client secret is null and authentication method requires it, it's initialized with a generated value

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

86.2% 86.2% Coverage
0.0% 0.0% Duplication

@enricovianello enricovianello merged commit 07b5dd4 into develop Dec 11, 2023
5 checks passed
@enricovianello enricovianello deleted the revert-validity-fix branch December 11, 2023 14:49
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