Skip to content

Commit f1f6d06

Browse files
committed
skip aud validation
1 parent 6fd321d commit f1f6d06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/propelauth/token.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ impl TokenService<'_> {
137137

138138
let mut validation = Validation::new(Algorithm::RS256);
139139
validation.set_issuer(&[self.issuer]);
140+
validation.validate_aud = false;
140141

141142
let decoded_user =
142143
decode::<DecodedUserFromToken>(&bearer_token, &decoding_key, &validation)

0 commit comments

Comments
 (0)