Skip to content

Pull SSO client secret from SSM#310

Merged
Zakaria-Kofiro merged 9 commits intomasterfrom
zkofiro/add-client-secret-to-ssm
Mar 21, 2024
Merged

Pull SSO client secret from SSM#310
Zakaria-Kofiro merged 9 commits intomasterfrom
zkofiro/add-client-secret-to-ssm

Conversation

@Zakaria-Kofiro
Copy link
Collaborator

@Zakaria-Kofiro Zakaria-Kofiro commented Mar 20, 2024

Pull SSO client secret from SSM
Adds option to store client secret in SSM to be pulled on SSO login - returns the default value for client secret key from settings.xml file if set to value not matching SSM key path (/*)

Please make sure these check boxes are checked before submitting

  • ** Squashed Commits **
  • ** All Tests Passed ** - mvn clean test -P default

** PR review process **

  • Requires one +1 from a reviewer
  • Repository owners will merge your PR once it is approved.

@Zakaria-Kofiro Zakaria-Kofiro marked this pull request as ready for review March 20, 2024 22:36
LOG.info("Error retrieving client secret from SSM", e);
}
}
return oidcSsoConfig.getClientSecret();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you return clientKey rather than looking it up again?

@Zakaria-Kofiro Zakaria-Kofiro merged commit e515e50 into master Mar 21, 2024
@Zakaria-Kofiro Zakaria-Kofiro deleted the zkofiro/add-client-secret-to-ssm branch March 21, 2024 21:20
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