diff --git a/src/main.rs b/src/main.rs index c15fffe..e7b775f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use jsonwebtoken::{decode, decode_header, Algorithm, DecodingKey, Validation, TokenData}; use reqwest; -use serde::{Deserialize, Serialize}; +use serde::Deserialize; use std::collections::HashMap; // Define a struct for the claims you expect in your token @@ -17,13 +17,6 @@ struct MyClaims { struct AuthorizationWellKnown { issuer: String, jwks_uri: String, - authorization_endpoint: String, - token_endpoint: String, - userinfo_endpoint: String, - end_session_endpoint: String, - introspection_endpoint: String, - revocation_endpoint: String, - device_authorization_endpoint: String, } #[derive(Deserialize)]