Skip to content

Commit 4f93135

Browse files
committed
Rename well_known_url -> well_known_config_url
1 parent b0fa449 commit 4f93135

File tree

1 file changed

+2
-2
lines changed
  • crates/stackable-operator/src/commons/authentication

1 file changed

+2
-2
lines changed

crates/stackable-operator/src/commons/authentication/oidc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ impl AuthenticationProvider {
157157
///
158158
/// It is basically the [`Self::endpoint_url`] joined with
159159
/// "./.well-known/openid-configuration", while watching out for URL joining madness.
160-
pub fn well_known_url(&self) -> Result<Url> {
160+
pub fn well_known_config_url(&self) -> Result<Url> {
161161
let mut url = self.base_url()?;
162162

163163
// Url::join cuts of the part after the last slash :/
@@ -431,7 +431,7 @@ mod test {
431431
.unwrap();
432432

433433
assert_eq!(
434-
oidc.well_known_url().unwrap().as_str(),
434+
oidc.well_known_config_url().unwrap().as_str(),
435435
expected_well_known_url
436436
);
437437
}

0 commit comments

Comments
 (0)