diff --git a/src/auth/mod.rs b/src/auth/mod.rs index 49be85a..84b764e 100644 --- a/src/auth/mod.rs +++ b/src/auth/mod.rs @@ -41,7 +41,7 @@ pub async fn auth( .value; let mut validation = Validation::new(jsonwebtoken::Algorithm::HS256); - validation.set_audience(&["icarus"]); // Must match exactly what's in the token + validation.set_audience(&["textsender"]); // Must match exactly what's in the token let _claims = decode::( &token, &DecodingKey::from_secret(secret_key.as_ref()),