Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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