Skip to content

Conversation

@Buzz1167
Copy link
Collaborator

@Buzz1167 Buzz1167 commented Jul 11, 2023

Pull Request Template

Description

Code is updated to support auto_refresh for clients other than rep_cli. Some items were not passed to the auto refresh authentication command that broke the process when a client other than rep_cli was being used. Similar changes have already been made in the evaluator code to support other clients configurations for the evaluator.

This was tested by setting a short token lifespan in keycloak and allowing it to refresh through the process automatically.

Checklist

Please complete the following checklist before submitting your pull request:

  • I have tested these changes locally and verified that they work as intended.
  • I have updated any documentation as needed to reflect these changes (if appropriate)
  • I have verified that these changes to the best of my knowledge do not introduce any security vulnerabilities.
  • Unit tests have been added (if appropriate)
  • Test-cases have been added (if appropriate)
  • Testing instructions have been added (if appropriate)

Buzz1167 added 2 commits July 11, 2023 15:38
fix client_id missing
fix client_secret missing
log the call has been retried
@Buzz1167 Buzz1167 requested a review from FedericoNegri July 11, 2023 20:54
@Buzz1167 Buzz1167 linked an issue Jul 11, 2023 that may be closed by this pull request
@Buzz1167 Buzz1167 self-assigned this Jul 11, 2023
@Buzz1167 Buzz1167 requested a review from saimanikant July 12, 2023 14:43
Copy link
Contributor

@FedericoNegri FedericoNegri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for fixing it!

@Buzz1167 Buzz1167 merged commit bd1a793 into main Jul 21, 2023
@Buzz1167 Buzz1167 deleted the jnovak/client_refresh_failure branch July 21, 2023 12:45
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.

Using a keycloak client other than rep-cli fails to refresh properly

3 participants