Make listening on an ephemeral port an option rather than the default.

This commit is contained in:
Glenn Griffin
2019-08-29 09:59:10 -07:00
parent e83ec7e25e
commit eb2a82f685
3 changed files with 21 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ fn main() {
client.clone(),
ad,
secret,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirectEphemeral,
);
let mut auth = Authenticator::new_disk(
client,