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

Add API key property to Springboot #2408

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Add API key property to Springboot

closes #2289

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner February 8, 2025 18:55
Comment on lines 69 to 70
// Unless HTTPS is explicitly disabled, enable it by default for API keys
stubsOptionsBuilder.setEnableHttps(connectionProperties.isEnableHttps() != null);
Copy link
Member

@cretz cretz Feb 10, 2025

Choose a reason for hiding this comment

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

This is not exactly the same as:

Suggested change
// Unless HTTPS is explicitly disabled, enable it by default for API keys
stubsOptionsBuilder.setEnableHttps(connectionProperties.isEnableHttps() != null);
// Unless HTTPS is explicitly disabled, enable it by default for API keys
if (connectionProperties.isEnableHttps() == null) {
stubsOptionsBuilder.setEnableHttps(true);
}

Because the current code will set HTTPS to false if connectionProperties.isEnableHttps() is non-null true.

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 00f7dd0 into temporalio:master Feb 11, 2025
8 checks passed
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.

Allow for API key authentication instead of mTLS in Spring Boot Autoconfigure
2 participants