We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc55a3d commit cb4c1f9Copy full SHA for cb4c1f9
1 file changed
src/webserver/oidc.rs
@@ -916,7 +916,9 @@ fn make_oidc_client(
916
)
917
})?;
918
let needs_http = match redirect_url.url().host() {
919
- Some(openidconnect::url::Host::Domain(domain)) => domain == "localhost",
+ Some(openidconnect::url::Host::Domain(domain)) => {
920
+ domain == "localhost" || domain.ends_with(".localhost")
921
+ }
922
Some(openidconnect::url::Host::Ipv4(_) | openidconnect::url::Host::Ipv6(_)) => true,
923
None => false,
924
};
0 commit comments