Skip to content

Commit

Permalink
Remove client secret from implicit flow example
Browse files Browse the repository at this point in the history
Fixes #286.
  • Loading branch information
ramosbugs committed Sep 14, 2024
1 parent 9c41286 commit 03cb079
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@
//! use oauth2::{
//! AuthUrl,
//! ClientId,
//! ClientSecret,
//! CsrfToken,
//! RedirectUrl,
//! Scope
Expand All @@ -282,7 +281,6 @@
//!
//! # fn err_wrapper() -> Result<(), anyhow::Error> {
//! let client = BasicClient::new(ClientId::new("client_id".to_string()))
//! .set_client_secret(ClientSecret::new("client_secret".to_string()))
//! .set_auth_uri(AuthUrl::new("http://authorize".to_string())?);
//!
//! // Generate the full authorization URL.
Expand Down

0 comments on commit 03cb079

Please sign in to comment.