From ea8beb985247aac4345ecefc8ec551f52f5f1a24 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 26 Nov 2019 04:20:43 -0500 Subject: allow multiple oauth configurations using the same auth type this should allow us to configure a separate oauth application for tt web than normal (since the redirect_url needs to be different) --- teleterm/src/cmd/stream.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'teleterm/src/cmd/stream.rs') diff --git a/teleterm/src/cmd/stream.rs b/teleterm/src/cmd/stream.rs index 83556de..92026f1 100644 --- a/teleterm/src/cmd/stream.rs +++ b/teleterm/src/cmd/stream.rs @@ -38,6 +38,7 @@ impl crate::config::Config for Config { crate::protocol::AuthType::RecurseCenter => { let id = crate::oauth::load_client_auth_id(self.client.auth); crate::protocol::Auth::recurse_center( + crate::protocol::AuthClient::Cli, id.as_ref().map(std::string::String::as_str), ) } -- cgit v1.2.3-54-g00ecf